TemplateDoesNotExist at /admin/

admin/index.html


Created a new virtualenvironment.
pip install Django==1.4.21

Pip installs two django directories.
One in the base virtualenv directory (e.g vn/django), another in 
vn/lib/python2.7/site-packages.

The in the base virtualenv directory has admin/templates, the one under 
site-packages does not.

This is different from previous installations, which only had django under 
site-packages, with the admin/templates.

We're running in Ubuntu 14.04. pip --version 7.1.0

This is a different (newer) version of pip than we've used before. Anybody 
seen this behavior?

More details:

Request Method:GETRequest URL:http://127.0.0.1:8000/admin/Django Version:
1.4.21Exception Type:TemplateDoesNotExistException Value:

admin/index.html

Exception 
Location:/home/lynn/Envs/vn/local/lib/python2.7/site-packages/django/template/loader.py
 
in select_template, line 193Python 
Executable:/home/lynn/Envs/vn/bin/pythonPython 
Version:2.7.6Python Path:

['/home/lynn/Envs/vn/valuenetwork',
 '/home/lynn/Envs/vn/lib/python2.7',
 '/home/lynn/Envs/vn/lib/python2.7/plat-x86_64-linux-gnu',
 '/home/lynn/Envs/vn/lib/python2.7/lib-tk',
 '/home/lynn/Envs/vn/lib/python2.7/lib-old',
 '/home/lynn/Envs/vn/lib/python2.7/lib-dynload',
 '/usr/lib/python2.7',
 '/usr/lib/python2.7/plat-x86_64-linux-gnu',
 '/usr/lib/python2.7/lib-tk',
 '/home/lynn/Envs/vn/local/lib/python2.7/site-packages',
 '/usr/local/lib/python2.7/dist-packages/pip-7.1.0-py2.7.egg',
 '/usr/local/lib/python2.7/site-packages',
 '/usr/local/lib/python2.7/dist-packages',
 '/usr/lib/python2.7/dist-packages',
 '/usr/lib/python2.7/dist-packages/PILcompat',
 '/usr/lib/python2.7/dist-packages/gtk-2.0',
 '/usr/lib/python2.7/dist-packages/ubuntu-sso-client']

Server time:Thu, 13 Aug 2015 13:13:08 +0000
Template-loader postmortem

Django tried loading these templates, in this order:

   - Using loader django.template.loaders.filesystem.Loader:
      - 
      /home/lynn/Envs/vn/valuenetwork/valuenetwork/templates/admin/index.html 
(File 
      does not exist)
   - Using loader django.template.loaders.app_directories.Loader:
      - 
      
/home/lynn/Envs/vn/local/lib/python2.7/site-packages/pinax_theme_bootstrap_account/templates/admin/index.html
 (File 
      does not exist)
      - 
      
/home/lynn/Envs/vn/local/lib/python2.7/site-packages/pinax_theme_bootstrap/templates/admin/index.html
 (File 
      does not exist)
      - 
      
/home/lynn/Envs/vn/local/lib/python2.7/site-packages/django_forms_bootstrap/templates/admin/index.html
 (File 
      does not exist)
      - 
      
/home/lynn/Envs/vn/local/lib/python2.7/site-packages/metron/templates/admin/index.html
 (File 
      does not exist)
      - 
      
/home/lynn/Envs/vn/local/lib/python2.7/site-packages/django_extensions/templates/admin/index.html
 (File 
      does not exist)
      - 
      
/home/lynn/Envs/vn/local/lib/python2.7/site-packages/notification/templates/admin/index.html
 (File 
      does not exist)
      - 
      
/home/lynn/Envs/vn/valuenetwork/valuenetwork/valueaccounting/templates/admin/index.html
 (File 
      does not exist)
   

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/847e33d9-11d2-4560-8e18-0880c3195860%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to