Re: cannot access admin
/Local Python Source Code/tacobakedotnet
manage.py
settings.py
urls.py
/Local Python Source Code/tacobakedotnet/media
JavaScript files
/Local Python Source Code/tacobakedotnet/dotnet_forms
models.py
tests.py
views.py
/Local Python Source Code/tacobakedotnet/dotnet_forms/static
CSS files
What it is having a hard time finding is
So
and http://127.0.0.1:8000/admin/ actually works too
But when I try and access anything inside the admin I get article not found.
Now, and this might be interesting if I go http://127.0.0.1:8000/admin/sfsdfdsfsfd just doing gibberish it gives me the ArticleNotFound, as opposed to say 404, which it does if you do something that violates urlconf. So basically the database got corrupted somehow is that what happened?
On Wednesday, July 4, 2012 2:05:22 PM UTC-4, Melvyn Sopacua wrote:
On 4-7-2012 19:18, Scott Somers wrote:
> 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'),
It looks like you have the project name in the view, which suggests the
current working directory of the project is one directory too high.
Could you show the directory layout, including the location of
settings.py, admin.py for the app and views.py.
--
Melvyn Sopacua
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/-/Z5X0qegeC44J.
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