Re: error logging in after updating to 1.9

2016-07-01 Thread Tim Graham
Perhaps the issue is a bit different as I don't see that same behavior. On Thursday, June 30, 2016 at 6:56:54 AM UTC-4, larry@gmail.com wrote: > > It seems like in 1.6 template code like this: > > {% if error %} > ... > {% endif %} > > Was OK. But in 1.9 if error is not defined it throws a

Re: AUTH_PASSWORD_VALIDATORS not used when creating new users?

2016-07-01 Thread Tim Graham
Password validation doesn't run as part of Model.clean(), but Model.save() doesn't run validation (Model.clean()) anyway. If you're interested, here's the password validation design decisions thread on django-developers: https://groups.google.com/d/topic/django-developers/9GBhgGXmEKs/discussion

Re: parallel test running throwing pickleError

2016-07-01 Thread Tim Graham
A sample project to reproduce would be helpful. On Thursday, June 30, 2016 at 5:53:25 PM UTC-4, Harry Moreno wrote: > > Any progress made on this front? I'm seeing this too in a Django 1.9 app > using python 2.7 > > On Monday, February 29, 2016 at 3:24:13 PM UTC-5, girish ramnani wrote: >> >> Sor

Re: def__str__(self) not working properly

2016-07-01 Thread Tim Graham
Hm, not much can go wrong there. Just to be sure, did you start the shell after you added the __str__ method? On Friday, July 1, 2016 at 5:52:12 AM UTC-4, gary719_list1 wrote: > > Hi all; > > I am working on the official django tutorial > (https//docs.djangoproject.com/en/1.9/intro/tutorial/02/

Re: How can I hide Groups and Permissions on User deatils in Django Admin?

2016-07-01 Thread Tim Graham
Create your own ModelAdmin subclass without those fields following the process outlined here: https://docs.djangoproject.com/en/stable/topics/auth/customizing/#extending-the-existing-user-model On Friday, July 1, 2016 at 1:48:32 PM UTC-4, Fellipe Henrique wrote: > > How can I hide Groups and Per

Re: HTTP2 Server Push with Django?

2016-07-01 Thread Alcides Viamontes E
Take a look to ShimmerCat and it's Django support: https://www.shimmercat.com/en/info/articles/guides-django/ ShimmerCat's raison d'etre is to be a viable alternative to CDNs for lowering the effects of latency in webpages. But regarding your question: - It implements HTTP/2 Push - It implem

Displaying multiple forms in django

2016-07-01 Thread peter harvy Mugisha
Would like to display three forms on a single page using the twitter bootstraps nave tabs kinder style -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-

How can I hide Groups and Permissions on User deatils in Django Admin?

2016-07-01 Thread Fellipe Henrique
How can I hide Groups and Permissions on User deatils in Django Admin? Just Hide, for user can't see/change... I don't want to disable or remove.. just Hide.. Any idea? T.·.F.·.A.·. S+F *Fellipe Henrique P. Soares* e-mail: > echo "lkrrovknFmsgor4ius" | perl -pe \ 's/(.)/chr(ord($1)-2*3)/ge'

Re: How generate for the Django pictures as in users of the stackoverflow.com?

2016-07-01 Thread Ezequiel Bertti
They use https://gravatar.com On Fri, Jul 1, 2016 at 12:45 PM, Seti Volkylany wrote: > Examples: > > > > > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email

How generate for the Django pictures as in users of the stackoverflow.com?

2016-07-01 Thread Seti Volkylany
Examples: -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googl

GeoDjango and Google Maps

2016-07-01 Thread Dennis
Hello, friends! Please, help with the issue - http://stackoverflow.com/questions/38140407/how-to-hook-up-google-maps-to-geodjango Thanks A LOT !! -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop recei

Re: def__str__(self) not working properly

2016-07-01 Thread Joey Chang
try to use __repr__ https://docs.python.org/2/reference/datamodel.html#object.__repr__ 2016-07-01 17:50 GMT+08:00 Gary Roach : > Hi all; > > I am working on the official django tutorial (https// > docs.djangoproject.com/en/1.9/intro/tutorial/02/) on the section that is > adding the choices. Spec

Re: Contribute to Django - Python 3 or Python 2

2016-07-01 Thread ludovic coues
https://docs.djangoproject.com/en/dev/releases/1.11/ "The Django 1.11.x series is the last to support Python 2. The next major release, Django 2.0, will only support Python 3.5+." But your point remains valid. It make more sense to use python 3 as it will be the only option available soon and som

def__str__(self) not working properly

2016-07-01 Thread Gary Roach
Hi all; I am working on the official django tutorial (https//docs.djangoproject.com/en/1.9/intro/tutorial/02/) on the section that is adding the choices. Specifically: # Create three choices. >>> q.choice_set.create(choice_text='Not much', votes=0) >>> q.choice_set.create(choice_text='The s