coffin.shortcuts error

46 views
Skip to first unread message

eneasg...@gmail.com

unread,
May 14, 2015, 7:16:06 AM5/14/15
to django...@googlegroups.com
Hi, first of all i'm sorry for my bad english.


I am installing a django app for continuing its develop, but when I try to start the app I get this error:

ImportError at /

No module named shortcuts
Request Method: GET
Request URL: http://127.0.0.1:8000/
Django Version: 1.5
Exception Type: ImportError
Exception Value:
No module named shortcuts
Exception Location: /home/eneas/workspace/python/local/app-name/module-name/views/helpers.py in <module>, line 4
Python Executable: /home/eneas/workspace/python/bin/python
Python Version: 2.7.6
Python Path:
['/home/eneas/workspace/python/local/app-name',
 '/home/eneas/workspace/python/lib/python2.7',
 '/home/eneas/workspace/python/lib/python2.7/plat-x86_64-linux-gnu',
 '/home/eneas/workspace/python/lib/python2.7/lib-tk',
 '/home/eneas/workspace/python/lib/python2.7/lib-old',
 '/home/eneas/workspace/python/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/eneas/workspace/python/local/lib/python2.7/site-packages',
 '/home/eneas/workspace/python/lib/python2.7/site-packages']





It looks like coffin is bad installed, but I don't know how I can fix it.

I work in a virtualenv and I installed coffin inside this virtualenv like this:

pip install Coffin 
I am desperate and if I get some help I will be very grateful.


Thanks in advance.

Stephen J. Butler

unread,
May 14, 2015, 7:18:50 AM5/14/15
to django...@googlegroups.com
The developer of coffin released v2.0 which is pretty much a simple stub. He recommends you switch to django-jinja.

You probably want to limit your requirements.txt to coffin<2.0.

--
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...@googlegroups.com.
To post to this group, send email to django...@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/3930f941-0157-4603-852e-e6cb9d85c23f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages