So I'm trying to develop with https://c9.io/

It's basically an online development suite, with terminals and editor and 
stuff.

I installed django via pip and tried something with the admin, but I got 
this ugly error:

TemplateDoesNotExist at /admin/
  admin/login.html

YES, I added the django.contrib.admin app to the settings file.

I investigated and discovered that while in my computer the templates for the 
admin were in the same directory as the python files


venv/lib/python2.7/site-packages/django/contrib/admin/templates/


on c9.io they were in /data/share/django/contrib/admin/templates

while the python files for the app were in 
/data/lib/python/site-packages/django/contrib/admin

That's why the template loader couldn't find them.


I fixed it by copying the templates in the app/templates folder, but it's not 
really a fix...




-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/soYT3UrkQCUJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to