Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#18871 closed Bug (fixed)

admin.Site not exists

Reported by: mail6543210@… 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 thikonom, 12 years ago

Yes that's true. It should be admin.AdminSite

comment:2 by Tim Graham <timograham@…>, 12 years ago

Resolution: fixed
Status: newclosed

In [141e6cd2acf62af895ca3d5db7b034fbb1273621]:

Fixed #18871 - Fixed typo in multi-db docs.

comment:3 by Tim Graham <timograham@…>, 12 years ago

In [f6351851b668f529a960df1b547d3b98dfa85388]:

[1.4.X] Fixed #18871 - Fixed typo in multi-db docs.

Backport of 141e6cd2ac from master

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