jsocol / django-adminplus

Easily add custom views to the Django admin.
BSD 3-Clause "New" or "Revised" License
591 stars 79 forks source link

What to replace #31

Closed joeestes86 closed 9 years ago

joeestes86 commented 9 years ago

In the instructions it says: To use AdminPlus in your Django project, you'll need to replace django.contrib.admin.site, which is an instance of django.contrib.admin.sites.AdminSite. I recommend doing this in urls.py right before calling admin.autodiscover():

Where is django.contrib.admin.site ? It is not in the urls.py in the example below. Also, what should it be replaced with?

jsocol commented 9 years ago

Installing AdminPlus in the README has example code for what the end result should look like. If you're using Django >= 1.7, make sure to note the change to INSTALLED_APPS at the bottom of the section.