I've completed Tutorial 1 without problems.
I am running the following:
WinXP SP2
Python 2.5
Django current SVN version, rev 6917
MySQL 5.0
Apache 2.2.6

Instead of the example "mysite" I used "amvsite", and everything in
Tutorial 1 worked well.
Moving on to Tutorial 2, I followed the instructions to set up a basic
admin site, ran the dev server, and upon loading it in a browser, I
get the following traceback in the "copy-and-paste" view:

<nasty_traceback>
Environment:

Request Method: GET
Request URL: http://127.0.0.1:8000/admin/
Django Version: 0.97-pre-SVN-6638
Python Version: 2.5.0
Installed Applications:
['django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.sites',
 'amvsite.polls',
 'django.contrib.admin']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.middleware.doc.XViewMiddleware')

Template Loader Error:
Django tried loading these templates, in this order:
Using loader django.template.loaders.filesystem.load_template_source:
Using loader
django.template.loaders.app_directories.load_template_source:



Traceback:
File "D:\Python25\Lib\site-packages\django\core\handlers\base.py" in
get_response
  82.                 response = callback(request, *callback_args,
**callback_kwargs)
File "D:\Python25\Lib\site-packages\django\contrib\admin\views
\decorators.py" in _checklogin
  66.             return _display_login_form(request, message)
File "D:\Python25\Lib\site-packages\django\contrib\admin\views
\decorators.py" in _display_login_form
  29.     }, context_instance=template.RequestContext(request))
File "D:\Python25\Lib\site-packages\django\shortcuts\__init__.py" in
render_to_response
  18.     return HttpResponse(loader.render_to_string(*args,
**kwargs), **httpresponse_kwargs)
File "D:\Python25\Lib\site-packages\django\template\loader.py" in
render_to_string
  101.         t = get_template(template_name)
File "D:\Python25\Lib\site-packages\django\template\loader.py" in
get_template
  79.     source, origin = find_template_source(template_name)
File "D:\Python25\Lib\site-packages\django\template\loader.py" in
find_template_source
  72.     raise TemplateDoesNotExist, name

Exception Type: TemplateDoesNotExist at /admin/
Exception Value: admin/login.html
</nasty_traceback>

It seems I am missing a template, so how do I set it up?

Cheers,
-Basilisk96
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to