add prefered/default protocol in the sites framework #26079

2016-01-13 Thread Eric Rouleau
Hi I've created a ticket to propose adding a preferred/default protocol in the "sites" framework at https://code.djangoproject.com/ticket/26079 tim suggested I bring this to the mailing list and said the following: I'm not immediately convinced that a database field is the way to go for a > co

Bank of examples.

2016-01-13 Thread Parki
I've just started out to learn Django and I realize how great would be if we had a bank of Django examples. I would have it, so I want you to contribute. https://github.com/Parki0/djangoexamples -- You received this message because you are subscribed to the Google Groups "Django developers (Co

deadlock risk from using cache a load time

2016-01-13 Thread John Bazik
I'm encountering a nested call to apps.populate in 1.8.7 which causes deadlock at load time. It's called first from django.setup(), then from LocMemCache and the process hangs on a lock. I'm posting here because I think the problem is principally within django - the apps I'm using are doing r

Re: deadlock risk from using cache a load time

2016-01-13 Thread Florian Apolloner
On Wednesday, January 13, 2016 at 6:58:25 PM UTC+1, John Bazik wrote: > > I'm posting here because I think the problem is principally within django > - the apps I'm using are doing reasonable things. > I wouldn't call multisite/hacks.py reasonable :D That said, unpickling models requires apps

Re: deadlock risk from using cache a load time

2016-01-13 Thread John Bazik
> I wouldn't call multisite/hacks.py reasonable :D That said, unpickling > models requires apps to be populated (relations etc…), therefor do not > attempt to do such an action during population. > Thanks. Shai offered the same opinion and I'm following up with the django-cms developers. Jo