mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Added missing imports to example from previous commit.
This commit is contained in:
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user