All pastes #127186 Raw Edit

Casanova

public text v1 · immutable
·published 2006-08-12 02:13 UTC
rendered paste body
~/proj/djproject$ python manage.py runserver
Validating models...
0 errors found.

Django version 0.96-pre, using settings 'djproject.settings'
Development server is running at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
[11/Aug/2006 21:10:27] "GET / HTTP/1.1" 404 1918


on http://127.0.0.1:8000/

Page not found (404)
Request Method: 	GET
Request URL: 	http://127.0.0.1:8000/

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

   1. ^admin/

The current URL, /, 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.


my urls.py file:
from django.conf.urls.defaults import *

urlpatterns = patterns('',
    # Example:
    # (r'^djproject/', include('djproject.apps.foo.urls.foo')),

    # Uncomment this for admin:
    (r'^admin/', include('django.contrib.admin.urls')),
)