mirror of https://github.com/django/django.git
Added missing imports to example from previous commit.
This commit is contained in:
parent
4a9b4a23bd
commit
c0eea4645b
|
@ -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…
Reference in New Issue