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
1 changed files with 2 additions and 0 deletions

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