Opened 7 years ago

Closed 7 years ago

#17575 closed Cleanup/optimization (fixed)

Python syntax error in example

Reported by: apelisse@… 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


Hello guys,
I noticed a very tiny mistake in the documentation at this URL:

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)

Antoine Pelisse

Change History (1)

comment:1 Changed 7 years ago by Aymeric Augustin

Resolution: fixed
Status: newclosed

In [17388]:

[1.3.X] Fixed #17575 -- Typo in an example of ModelAdmin.list_filter. Thanks apelisse AT gmail com for the report.

Note: See TracTickets for help on using tickets.
Back to Top