Jump to content

Recommended Posts

Posted

I've created a DJango Project named "djangotest" and 2 DJango Apps named "admin_tools" and "test" (following HelioHost instructions). My "test" app is working but "admin_tools" app is showing the following error:

Page not found (404)

Request Method:

GET

Request URL: http://sgjava.tk/djangotest/dispatch.wsgi/

Using the URLconf defined in urls, Django tried these URL patterns, in this order:

1. ^admin_tools/

The current URL, djangotest/dispatch.wsgi/, didn't match any of these. You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 404 page.

Directories

I've the following directories:

+ djangotest (projects dir)

- admin_tools (app dir)

- test (app dir)

- __init__.py

- dispatch.wsgi

- settings.py

- urls.py

- .htaccess

Contents of urls.py

from django.conf.urls.defaults import *

urlpatterns = patterns('',
(r'^admin_tools/', include('admin_tools.urls')),
)

Please help me to solve the problem

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...