Opened 4 years ago

Closed 4 years ago

Last modified 4 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


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 Changed 4 years ago by thikonom

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

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

comment:2 Changed 4 years ago by Tim Graham <timograham@…>

  • Resolution set to fixed
  • Status changed from new to closed

In [141e6cd2acf62af895ca3d5db7b034fbb1273621]:

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

comment:3 Changed 4 years ago by Tim Graham <timograham@…>

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