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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
New to Django, Admin Page not Loading
Here is my urls.py page 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)), ) And here is my settings.py 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' ) I have sync the database and started the server many times. I got the welcome page but when I try to do /amin or /admin/ or /admin/auth , the page just does not load. I got stuck on the welcome page. As you can see above the django.contrib.admin is uncommented and same with the django.contrib.admindocs. On the urls.py admin has been imported. I have looked through questions on stackoverflow but still can't find the answer. Can someone help me out please? -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/acUEAQK82osJ. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.