Environment:
Request Method: GET
Request URL: http://127.0.0.1:8000/genres/
Django Version: 1.6
Python Version: 3.3.1
Installed Applications:
('django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'core',
'mptt')
Installed Middleware:
('django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware')
Template Loader Error:
Django tried loading these templates, in this order:
Using loader django.template.loaders.filesystem.Loader:
Using loader django.template.loaders.app_directories.Loader:
/usr/local/lib/python3.3/dist-packages/django/contrib/admin/templates/genres.html (File does not exist)
/usr/local/lib/python3.3/dist-packages/django/contrib/auth/templates/genres.html (File does not exist)
Traceback:
File "/usr/local/lib/python3.3/dist-packages/django/core/handlers/base.py" in get_response
114. response = wrapped_callback(request, callback_args, callback_kwargs)
File "/home/.../.../.../.../views.py" in show_genres
9. context_instance=RequestContext(request))
File "/usr/local/lib/python3.3/dist-packages/django/shortcuts/init.py" in render_to_response
29. return HttpResponse(loader.render_to_string(*args, kwargs), *httpresponse_kwargs)
File "/usr/local/lib/python3.3/dist-packages/django/template/loader.py" in render_to_string
162. t = get_template(template_name)
File "/usr/local/lib/python3.3/dist-packages/django/template/loader.py" in get_template
138. template, origin = find_template(template_name)
File "/usr/local/lib/python3.3/dist-packages/django/template/loader.py" in find_template
131. raise TemplateDoesNotExist(name)
Exception Type: TemplateDoesNotExist at /genres/
Exception Value: genres.html