Opened 16 years ago
Closed 16 years ago
#8148 closed (invalid)
admin index page not working anymore
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | contrib.admin | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
just started with internal server and browsed to http://127.0.0.1:8000/admin giving this trace:
pasteur:raystation trott$ ./manage.py runserver
Validating models...
0 errors found
Django version 1.0-alpha-SVN-8225, using settings 'raystation.settings'
Development server is running at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
[07/Aug/2008 07:53:16] "GET / HTTP/1.1" 404 1959
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/django/core/servers/basehttp.py", line 277, in run
self.result = application(self.environ, self.start_response)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/django/core/servers/basehttp.py", line 634, in call
return self.application(environ, start_response)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/django/core/handlers/wsgi.py", line 216, in call
response = self.get_response(request)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/django/core/handlers/base.py", line 67, in get_response
response = middleware_method(request)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/django/middleware/common.py", line 72, in process_request
urlresolvers.resolve(new_url[1])
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/django/core/urlresolvers.py", line 299, in resolve
return get_resolver(urlconf).resolve(path)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/django/core/urlresolvers.py", line 240, in resolve
sub_match = pattern.resolve(new_path)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/django/core/urlresolvers.py", line 240, in resolve
sub_match = pattern.resolve(new_path)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/django/core/urlresolvers.py", line 179, in resolve
return self.callback, args, kwargs
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/django/core/urlresolvers.py", line 191, in _get_callback
raise ViewDoesNotExist, "Tried %s in module %s. Error was: %s" % (func_name, mod_name, str(e))
ViewDoesNotExist: Tried index in module django.contrib.admin.views.main. Error was: 'module' object has no attribute 'index'
[07/Aug/2008 07:53:19] "GET /admin HTTP/1.1" 500 2074
See http://groups.google.com/group/django-users/browse_thread/thread/8950f281df3cb331/174405a1c2a277be
If you properly follow the instructions on the BackwardsIncompatibleChanges page, you wont see this error.