1
0
mirror of https://github.com/django/django.git synced 2025-02-01 21:29:24 +00:00

Added missing imports to example from previous commit.

This commit is contained in:
Tim Graham 2014-10-30 08:53:20 -04:00
parent 4a9b4a23bd
commit c0eea4645b

View File

@ -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 = [