Apps not showing in Django admin site
Posted
by jack
on Stack Overflow
See other posts from Stack Overflow
or by jack
Published on 2010-03-08T00:59:48Z
Indexed on
2010/03/08
1:49 UTC
Read the original article
Hit count: 538
I have a Django project with about 10 apps in it. But the admin interface only shows Auth and Site models which are part of Django distribution. Yes, the admin interface is up and working but none of my self-written apps shows there.
INSTALLED_APPS
INSTALLED_APPS = (
'django.contrib.auth',
'django.contrib.sites',
'django.contrib.contenttypes',
'django.contrib.humanize',
'django.contrib.sessions',
'django.contrib.admin',
'django.contrib.admindocs',
'project.app1',
...
app1/admin.py
from django.contrib import admin
from project.app1.models import *
admin.site.register(model1)
admin.site.register(model2)
admin.site.register(model3)
What could be wrong in this case? Looks like everything is configured as what document says.
Thank you in advance.
© Stack Overflow or respective owner