Opened 14 years ago
Closed 14 years ago
#17575 closed Cleanup/optimization (fixed)
Python syntax error in example
| Reported by: | Owned by: | nobody | |
|---|---|---|---|
| Component: | Documentation | Version: | 1.3 |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
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 = ('groupsname')
The list_filter must be a tuple, so it misses a coma.
Thanks for all the goodwork (framework + documentation)
Cheers,
Antoine Pelisse
Note:
See TracTickets
for help on using tickets.
In [17388]: