urls.py:
from django.contrib import admin
admin.autodiscover()
...
url(r'^admin/', include(admin.site.urls)),
settings.py has active the admin module:
'django.contrib.admin',
but the site administration page only have “site”、”auth” categories , i can find my models here.
I have an django app named “testapp”.
Any one can help ?
You also need to register your models to the admin:
testapp/admin.py: