#14451: add related_name to contrib.auth.models.User for 'groups'
---------------------------+------------------------------------------------
 Reporter:  tvon           |       Owner:  nobody    
   Status:  new            |   Milestone:  2.0       
Component:  Uncategorized  |     Version:  1.2       
 Keywords:                 |       Stage:  Unreviewed
Has_patch:  0              |  
---------------------------+------------------------------------------------
 Would allow for
 {{{
 from django.contrib.auth.models import Group
 group = Group.objects.all()[0]
 group.members.all()
 }}}

 instead of the current

 {{{
 group.users_set.all()
 }}}


 You know, nexttime someone feels like kicking backwards compatibility in
 the groin...

-- 
Ticket URL: <http://code.djangoproject.com/ticket/14451>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to