New to Django, Question about Admin Page
I apologize if I ended up sending this twice. I hit submit when google
logged me out.
I am new to django. Right now I am going through the tutorial. I am
stuck on the creating admin page section.
Here are the settings.py , you can see that the admin and the
admindocs are uncommented.
INSTALLED_APPS = (
'django.contrib.auth', #an authentication system
'django.contrib.contenttypes', #framework for content types
'django.contrib.sessions', #a session framework
'django.contrib.messages', #a messaging framework
'django.contrib.staticfiles', #framework for managing static files
# Uncomment the next line to enable the admin:
'django.contrib.admin',
# Uncomment the next line to enable admin documentation:
'django.contrib.admindocs',
'budget'
)
Here at the urls.py, the three lines are also uncommented
from django.conf.urls.defaults import patterns, include, url
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
# Examples:
# url(r'^$', 'budgetmanager.views.home', name='home'),
# url(r'^budgetmanager/', include('budgetmanager.foo.urls')),
# Uncomment the admin/doc line below to enable admin documentation:
# url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
# Uncomment the next line to enable the admin:
# url(r'^admin/', include(admin.site.urls)),
)
The django page is up and running when I start the server. However no
matter how much I try
/admin or /admin/ or /admin/auth, the page just won't go to the admin
page and gets stuck on the django welcome page instead
Can anyone help me out? Do you need to show you guys any other code?
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home