Well, first things first:  set DEBUG=True in your settings.

The traceback you got there is saying there's an HTTP 500 error
somewhere, so it's looking for a 500.html template to use to display
that error.  Django only tries to show that page if you have set
DEBUG=False.  In this case, you need to find out what the underlying
error is, so set DEBUG=True and try /admin/ again.

Here's the docs on the 500.html page:

http://docs.djangoproject.com/en/dev/topics/http/views/#customizing-error-views

---Peter


On Thu, Jan 22, 2009 at 9:44 AM, bconnors <bob.conn...@wdc.usda.gov> wrote:
>
> when I typed in: http://127.0.0.1:8000/admin/
>
> I got:
>
> Traceback (most recent call last):
>
>  File "C:\Python26\Lib\site-packages\django\core\servers
> \basehttp.py", line 278, in run
>    self.result = application(self.environ, self.start_response)
>
>  File "C:\Python26\Lib\site-packages\django\core\servers
> \basehttp.py", line 635, in __call__
>    return self.application(environ, start_response)
>
>  File "C:\Python26\Lib\site-packages\django\core\handlers\wsgi.py",
> line 239, in __call__
>    response = self.get_response(request)
>
>  File "C:\Python26\Lib\site-packages\django\core\handlers\base.py",
> line 116, in get_response
>    return self.handle_uncaught_exception(request, resolver,
> sys.exc_info())
>
>  File "C:\Python26\Lib\site-packages\django\core\handlers\base.py",
> line 160, in handle_uncaught_exception
>    return callback(request, **param_dict)
>
>  File "C:\Python26\Lib\site-packages\django\views\defaults.py", line
> 23, in server_error
>    t = loader.get_template(template_name) # You need to create a
> 500.html template.
>
>  File "C:\Python26\Lib\site-packages\django\template\loader.py", line
> 80, in get_template
>    source, origin = find_template_source(template_name)
>
>  File "C:\Python26\Lib\site-packages\django\template\loader.py", line
> 73, in find_template_source
>    raise TemplateDoesNotExist, name
>
> TemplateDoesNotExist: 500.html
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to