Note that there are some explanatory texts on larger screens.

plurals
  1. PODjango Admin 'Page not found at /admin/
    primarykey
    data
    text
    <p>I have uncommented the admin areas in settings.py &amp; urls.py. However the admin won't load at /admin/. If I change the url to /admin/auth/ then I can login the admin panel, but if I try and go to /admin/ it still won't find the page.</p> <p>Here is my settings.py : </p> <pre><code> INSTALLED_APPS = ( 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.admin', 'src', 'lib.tagging', 'lib.markdown', 'lib.avatar', # Uncomment the next line to enable admin documentation: #'django.contrib.admindocs', ) </code></pre> <p>URLs.py</p> <pre><code>from django.conf.urls.defaults import * from django.conf import settings from src import views from src.models import Want from lib.tagging.models import Tag # Uncomment the next two lines to enable the admin: from django.contrib import admin admin.autodiscover() want_info_dict = { 'queryset': Want.objects.all(), 'date_field': 'pub_date', } urlpatterns = patterns('django.views.generic.simple', url(r'^about/$', 'direct_to_template', {"template":"about.html"}, name="about"), ) urlpatterns += patterns('', url(r'^$', views.home, name="home"), url(r'^signup/$', views.signup, name="signup"), url(r'^accounts/login/$', views.userlogin, name="login"), url(r'^accounts/settings/$', views.account_settings, name="settings"), url(r'^logout/$', 'django.contrib.auth.views.logout', {"next_page":"/"}, name="logout"), #user profile url(r'^(?P&lt;username&gt;\w+)/$', views.userprofile, name="user-profile"), #wants url(r'^mentees/(?P&lt;slug&gt;[-\w]+)/$', views.wants_by_tag, name="wants_by_tag"), url(r'^avatar/', include('lib.avatar.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)), ) if settings.DEBUG: urlpatterns += patterns('', (r'^static/(?P&lt;path&gt;.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT}), ) </code></pre> <p>Thanks for the help!</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload