Skip to content

Commit

Permalink
Merge pull request #5 from agiliq/Chapter1_module3_edit001
Browse files Browse the repository at this point in the history
Added a import line for Admin site in the document
  • Loading branch information
shabda committed Feb 23, 2018
2 parents 6e07e11 + d6ed1ea commit 02327dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/two_admin.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ We will keep the default admin for `entities` and create a new subclass of :code

In our :code:`events/admin.py` we do::

from django.contrib.admin import AdminSite
class EventAdminSite(AdminSite):
site_header = "UMSRA Events Admin"
site_title = "UMSRA Events Admin Portal"
Expand Down

0 comments on commit 02327dd

Please sign in to comment.