Wednesday, July 4, 2012

cannot access admin

So I don't normally spam forums/ mailing lists etc for help but I really screwed something up.  Basically when I try and access my admin site, for example:

DoesNotExist at /admin/auth/group/

Article matching query does not exist.

DoesNotExist at /admin/dotnet_forms/article/

Article matching query does not exist.
My urls
urlpatterns = patterns('',      (r'^media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT }),  )    urlpatterns += patterns('',      url(r'^$', 'tacobakedotnet.dotnet_forms.views.home'),      url(r'^(\S+)/(\S+)', 'tacobakedotnet.dotnet_forms.views.home'),                # Uncomment the next line to enable the admin:      url(r'^admin/$', include(admin.site.urls)),      # Uncomment the admin/doc line below to enable admin documentation:      # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),      )
The website itself does work so the articles and things stored in the database are still there.  I just cannot access them.
I am asking because it seems like a technical problem of some sort.
I did add to settings.py but I don't think I changed anything.
This doesn't work either although the article is there when I pull it up inside the website.

DoesNotExist at /admin/dotnet_forms/article/12/

Article matching query does not exist.
So basically it seems like some kind of urlconf problem.

--
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/-/acLnQYc8tVAJ.
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


Real Estate