Skip to content

Commit

Permalink
Added missing imports to example from previous commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
timgraham committed Oct 30, 2014
1 parent 4a9b4a2 commit c0eea46
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/ref/contrib/admin/index.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down

0 comments on commit c0eea46

Please sign in to comment.