mirror of
https://github.com/django/django.git
synced 2025-04-15 12:54:38 +00:00
[1.4.X] Fixed #18871 - Fixed typo in multi-db docs.
Backport of 141e6cd2ac from master
This commit is contained in:
parent
81bfe428e1
commit
f6351851b6
@ -527,7 +527,7 @@ registered with any ``Admin`` instance::
|
||||
admin.site.register(Author, MultiDBModelAdmin)
|
||||
admin.site.register(Publisher, PublisherAdmin)
|
||||
|
||||
othersite = admin.Site('othersite')
|
||||
othersite = admin.AdminSite('othersite')
|
||||
othersite.register(Publisher, MultiDBModelAdmin)
|
||||
|
||||
This example sets up two admin sites. On the first site, the
|
||||
|
Loading…
x
Reference in New Issue
Block a user