#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.
Note:
See TracTickets
for help on using tickets.
Duplicate of #8899