Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#9135 closed (duplicate)

http://docs.djangoproject.com/en/dev/ref/contrib/admin/#exclude

Reported by: anonymous Owned by: nobody
Component: Documentation Version: dev
Severity: 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

Should say:

class AuthorAdmin(admin.ModelAdmin):
    exclude = ['birth_date'] 

Otherwise, django throws a typeError about tuples and lists.

Change History (2)

comment:1 by Brian Rosner, 16 years ago

Resolution: duplicate
Status: newclosed

Duplicate of #8899

comment:2 by (none), 15 years ago

milestone: post-1.0

Milestone post-1.0 deleted

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