TemplateDoesNotExist at /admin/
admin/index.html
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: | GET |
|---|---|
| Request URL: | http://127.0.0.1:8000/admin/ |
| Django Version: | 1.4.21 |
| Exception Type: | TemplateDoesNotExist |
| Exception Value: | admin/index.html |
| Exception Location: | /home/lynn/Envs/vn/local/lib/ |
| Python Executable: | /home/lynn/Envs/vn/bin/python |
| Python Version: | 2.7.6 |
| Python Path: | ['/home/lynn/Envs/vn/ |
| 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/(File does not exist)valuenetwork/valuenetwork/ templates/admin/index.html
- Using loader
django.template.loaders.app_:directories.Loader /home/lynn/Envs/vn/local/lib/(File does not exist)python2.7/site-packages/pinax_ theme_bootstrap_account/ templates/admin/index.html /home/lynn/Envs/vn/local/lib/(File does not exist)python2.7/site-packages/pinax_ theme_bootstrap/templates/ admin/index.html /home/lynn/Envs/vn/local/lib/(File does not exist)python2.7/site-packages/ django_forms_bootstrap/ templates/admin/index.html /home/lynn/Envs/vn/local/lib/(File does not exist)python2.7/site-packages/ metron/templates/admin/index. html /home/lynn/Envs/vn/local/lib/(File does not exist)python2.7/site-packages/ django_extensions/templates/ admin/index.html /home/lynn/Envs/vn/local/lib/(File does not exist)python2.7/site-packages/ notification/templates/admin/ index.html /home/lynn/Envs/vn/(File does not exist)valuenetwork/valuenetwork/ valueaccounting/templates/ admin/index.html
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 django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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.
No comments:
Post a Comment