Opened 4 years ago

Closed 4 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:
Needs tests: Patch needs improvement:
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 4 years ago by aaugustin

  • Resolution set to fixed
  • Status changed from new to closed

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