Opened 3 years ago

Closed 3 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

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

Change History (1)

comment:1 Changed 3 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