#18871 closed Bug (fixed)
admin.Site not exists
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | Documentation | Version: | 1.4 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description
Under the section "Exposing multiple databases in Django's admin interface"
The third example code, the second last line:
othersite = admin.Site('othersite')
However, there's no admin.Site
, I guess it shall be admin.AdminSite
??
Change History (3)
comment:1 by , 12 years ago
comment:2 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Yes that's true. It should be admin.AdminSite