I researched further and found the answer to my question.
If your admin application does not show Auth and Sites and it's in
your INSTALLED_APPS tuple on your settings.py
INSTALLED_APPS = (
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'mysite2.blog',
'django.contrib.admin',
)
Make sure that your urls.py has the admin.autodiscover() declared
under the import statements.
And bingo all the apps that should show will show.
from django.conf.urls.defaults import *
from django.contrib import admin
from mysite2.blog.views import archive
admin.autodiscover()
urlpatterns = patterns('',
# Example:
# (r'^mysite2/', include('mysite2.foo.urls')),
# Uncomment the admin/doc line below and add
'django.contrib.admindocs'
# to INSTALLED_APPS to enable admin documentation:
# (r'^admin/doc/', include('django.contrib.admindocs.urls')),
# Uncomment the next line to enable the admin:
(r'^admin/', include(admin.site.urls)),
(r'^$', archive),
)
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.