#17575: Python syntax error in example
--------------------------------------+--------------------
     Reporter:  apelisse@…            |      Owner:  nobody
         Type:  Cleanup/optimization  |     Status:  new
    Component:  Documentation         |    Version:  1.3
     Severity:  Normal                |   Keywords:
 Triage Stage:  Unreviewed            |  Has patch:  0
Easy pickings:  0                     |      UI/UX:  0
--------------------------------------+--------------------
 Hello guys,
 I noticed a very tiny mistake in the documentation at this URL:
 
https://docs.djangoproject.com/en/1.3/ref/contrib/admin/#django.contrib.admin.ModelAdmin.list_filter

 class UserAdminWithLookup(UserAdmin):
     list_filter = ('groups__name')

 The list_filter must be a tuple, so it misses a coma.

 Thanks for all the goodwork (framework + documentation)

 Cheers,
 Antoine Pelisse

-- 
Ticket URL: <https://code.djangoproject.com/ticket/17575>
Django <https://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-updates@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