Re: New to Django

2016-08-20 Thread Wolf Painter
Hi Serge, I would love to speak to you about your app and how you use it. I'm new to django, so this has taken a bit to get used to but I really think it's the way to go for what I want to do with it. What's the best way to reach you? On Saturday, August 20, 2016 at 11:29:02 AM UTC-7, Sergiy

Re: New to Django

2016-08-20 Thread Wolf Painter
OMG THANK YOU!! This totally works! Thank you, Thank you, Thank you! On Saturday, August 20, 2016 at 12:30:26 PM UTC-7, Andrew Beales wrote: > > This works for me: > > {% for server, images in child_list.items %} > {{ server }} > {% for image in images %} > {% for key,val in

Re: New to Django

2016-08-20 Thread Andrew Beales
This works for me: {% for server, images in child_list.items %} {{ server }} {% for image in images %} {% for key,val in image.items %} {{ key }}: {{ val }} {% endfor %} {% endfor %} {% endfor %} In your template, 'image' is a list of dicts, so you need to loop

Re: Django-drip not working

2016-08-20 Thread M Hashmi
Yeah I know that but I thought it would be easy to get it ported manually but after reading code twice I guess I can wait till owner of repo do so. Thanks for help. Regards, Mudassar On Sat, Aug 20, 2016 at 9:15 AM, Simon Charette wrote: > It looks like django-drip has

Re: New to Django

2016-08-20 Thread Sergiy Khohlov
I've created project for managing virtual machines via libvirt using django few years ago. Also you can take a look at ganeti project. I'm ready to answer any question related to django and cloud computing. Thanks, Serge 20 серп. 2016 20:23 "Wolf Painter" пише: > If you

Re: New to Django

2016-08-20 Thread Wolf Painter
If you look at the code for the template, images is in there. I've tried all the ways I found to display my multidimensional dictionary, one of which is to loop through the first part, then the second. If you look at the code below, I'm looping through the first part of the dictionary, then

Re: Django-drip not working

2016-08-20 Thread Simon Charette
It looks like django-drip has not been ported to Django 1.8 yet. Le samedi 20 août 2016 09:41:06 UTC-4, M Hashmi a écrit : > > Now I am getting another error: > > Traceback: > > File > "C:\Users\Mudassar\dressikarepo\lib\site-packages\django\core\handlers\base.py" > > in get_response > >

How can I capture two slugs in one URL pattern?

2016-08-20 Thread Yunus
Hello, I want to two slugs in one URL pattern. These slugs from different models. I have a model Link with a many to one relationship with a model category. Actually these two slugs is working. But one of the slugs is accepting whatever I write in the category_slug section of the url. Let's

Re: Django-drip not working

2016-08-20 Thread M Hashmi
Now I am getting another error: Traceback: File "C:\Users\Mudassar\dressikarepo\lib\site-packages\django\core\handlers\base.py" in get_response 132. response = wrapped_callback(request, *callback_args, **callback_kwargs) File

Re: Django-drip not working

2016-08-20 Thread Tim Graham
Looks like it could be a bug in django-drip because: Model._meta.fields + Model._meta.many_to_many + Model._meta.get_all_related_objects() (tuple) + (tuple) + (list) A possible fix could be: ... + tuple(Model._meta.get_all_related_objects()) On Saturday, August 20, 2016 at 7:56:46 AM UTC-4, M

Django-drip not working

2016-08-20 Thread M Hashmi
Hi Guys, I am having trouble with Django-drip and couldn't search a solution and hard to figure out. The error pops up when I try to add a Drip. My settings.py has "DRIP_FROM_MAIL" field and EMAIL_HOST field both. I've added django-drip and migrated for django==1.8.13 it worked fine but now stuck

Non Admin Dashboard/Shop Login for Suppliers

2016-08-20 Thread Shazia Nusrat
Hi, I am using Django-registration for registration process in my django project. Now I need to add a shop login for resellers. Can some one provide me the process to add Shop-Dashboard in NLP like in non coding format just to give me idea how to go for it. Do I need to build form from my Shop

Django-nose and errors on the admin

2016-08-20 Thread Karim
Hello everyone, I have an admin.py that I "promote" as a package splitting the original admin.py The file app/admin/__init__.py import all the splitted files. Everything works. The admin works. The default testrunner works, but we use nose and django-nose at their last version and I have

Non Admin Dashboard/Shop Login for Suppliers

2016-08-20 Thread Ali khan
Hi, I am using Django-registration for registration process in my django project. Now I need to add a shop login for resellers. Can some one provide me the process to add Shop-Dashboard in NLP like in non coding format just to give me idea how to go for it. Do I need to build form from my Shop