mirror of
https://github.com/django/django.git
synced 2025-07-19 11:15:19 +00:00
Added missing imports to example from previous commit.
This commit is contained in:
parent
4a9b4a23bd
commit
c0eea4645b
1 changed files with 2 additions and 0 deletions
|
@ -2552,6 +2552,8 @@ update :file:`myproject/urls.py` to reference your :class:`AdminSite` subclass.
|
|||
.. snippet::
|
||||
:filename: myproject/urls.py
|
||||
|
||||
from django.conf.urls import include, url
|
||||
|
||||
from myapp.admin import admin_site
|
||||
|
||||
urlpatterns = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue