Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

template issue 2 #25

Open
marlana opened this issue Jun 5, 2010 · 0 comments
Open

template issue 2 #25

marlana opened this issue Jun 5, 2010 · 0 comments

Comments

@marlana
Copy link

marlana commented Jun 5, 2010

http://192.168.1.4:8000/speaker/schedule/, clicked link http://192.168.1.4:8000/accounts/login/, error:
Environment:

Request Method: GET
Request URL: http://192.168.1.4:8000/accounts/login/
Django Version: 1.1.1
Python Version: 2.6.5
Installed Applications:
['django.contrib.flatpages',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.admin',
'common',
'accounts',
'speakers',
'volunteers',
'voting',
'sponsors',
'lugs',
'updates',
'ticketing',
'event',
'sorl.thumbnail']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.middleware.doc.XViewMiddleware',
'django.middleware.gzip.GZipMiddleware',
'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware',
'common.middleware.SiteIdOnFlyMiddleware')

Template Loader Error:
Django tried loading these templates, in this order:
Using loader common.templateloader.load_template_source:
/var/www/ConMan/public/themes/ugly/accounts/login.html (File does not exist)
Using loader django.template.loaders.app_directories.load_template_source:
/usr/lib/pymodules/python2.6/django/contrib/admin/templates/accounts/login.html (File does not exist)

Traceback:
File "/usr/lib/pymodules/python2.6/django/core/handlers/base.py" in get_response

  1.             response = callback(request, _callback_args, *_callback_kwargs)
    
    File "/usr/lib/pymodules/python2.6/django/views/decorators/cache.py" in _wrapped_view_func
  2.     response = view_func(request, _args, *_kwargs)
    
    File "/usr/lib/pymodules/python2.6/django/contrib/auth/views.py" in login
  3. }, context_instance=RequestContext(request))
    
    File "/usr/lib/pymodules/python2.6/django/shortcuts/init.py" in render_to_response
  4. return HttpResponse(loader.render_to_string(_args, *_kwargs), **httpresponse_kwargs)
    
    File "/usr/lib/pymodules/python2.6/django/template/loader.py" in render_to_string
  5.     t = get_template(template_name)
    
    File "/usr/lib/pymodules/python2.6/django/template/loader.py" in get_template
  6. source, origin = find_template_source(template_name)
    
    File "/usr/lib/pymodules/python2.6/django/template/loader.py" in find_template_source
  7. raise TemplateDoesNotExist, name
    

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant