gigashare / scalereg

Automatically exported from code.google.com/p/scalereg
Other
0 stars 0 forks source link

TemplateDoesNotExist at /accounts/login/ registration/login.html #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. python manage.py runserver 
2. Access localhost:8080
3. Error will display "TemplateDoesNotExist at /accounts/login/ 
registration/login.html"

Original issue reported on code.google.com by i...@fonz.net on 28 Jun 2009 at 9:13

GoogleCodeExporter commented 9 years ago
Environment:

Request Method: GET
Request URL: http://127.0.0.1:8000/accounts/login/
Django Version: 1.0.2 final
Python Version: 2.5.1
Installed Applications:
['django.contrib.admin',
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.sites',
 'scalereg.auth_helper',
 'scalereg.reg6',
 'scalereg.reports',
 'scalereg.speaker_survey']
Installed Middleware:
('django.middleware.gzip.GZipMiddleware',
 'django.middleware.common.CommonMiddleware',
 'django.contrib.csrf.middleware.CsrfMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware')

Template Loader Error:
Django tried loading these templates, in this order:
Using loader django.template.loaders.filesystem.load_template_source:
/Users/ilan/dev/scalereg/scalereg/scale_templates/registration/login.html (File 
does
not exist)
Using loader django.template.loaders.app_directories.load_template_source:
/Library/Python/2.5/site-packages/django/contrib/admin/templates/registration/lo
gin.html
(File does not exist)

Traceback:
File "/Library/Python/2.5/site-packages/django/core/handlers/base.py" in 
get_response
  86.                 response = callback(request, *callback_args, **callback_kwargs)
File "/Library/Python/2.5/site-packages/django/views/decorators/cache.py" in
_wrapped_view_func
  44.         response = view_func(request, *args, **kwargs)
File "/Library/Python/2.5/site-packages/django/contrib/auth/views.py" in login
  42.     }, context_instance=RequestContext(request))
File "/Library/Python/2.5/site-packages/django/shortcuts/__init__.py" in
render_to_response
  18.     return HttpResponse(loader.render_to_string(*args, **kwargs),
**httpresponse_kwargs)
File "/Library/Python/2.5/site-packages/django/template/loader.py" in 
render_to_string
  102.         t = get_template(template_name)
File "/Library/Python/2.5/site-packages/django/template/loader.py" in 
get_template
  80.     source, origin = find_template_source(template_name)
File "/Library/Python/2.5/site-packages/django/template/loader.py" in
find_template_source
  73.     raise TemplateDoesNotExist, name

Exception Type: TemplateDoesNotExist at /accounts/login/
Exception Value: registration/login.html

Original comment by i...@fonz.net on 28 Jun 2009 at 9:13

GoogleCodeExporter commented 9 years ago

Original comment by i...@fonz.net on 1 Jul 2009 at 5:11

GoogleCodeExporter commented 9 years ago

Original comment by i...@fonz.net on 1 Jul 2009 at 5:14

GoogleCodeExporter commented 9 years ago
Fixed at r281.

Original comment by zhang...@gmail.com on 15 Jul 2009 at 8:33

GoogleCodeExporter commented 9 years ago
Confirmed to be resolved.

Original comment by i...@fonz.net on 17 Jul 2009 at 6:52

GoogleCodeExporter commented 9 years ago

Original comment by zhang...@gmail.com on 18 Jul 2009 at 11:17