path to django from jython

64 views
Skip to first unread message

Josh Stratton

unread,
Jan 27, 2015, 10:51:13 AM1/27/15
to django...@googlegroups.com
Okay, stupid question, but how do I source django when jusing jython?  I have django installed using pip and jython installed locally.  I've built my project using python and after adding "doj" to the installed apps, I get a path error building a war.  

$ jython manage.py buildwar
Traceback (most recent call last):
  File "manage.py", line 8, in <module>
    from django.core.management import execute_from_command_line
ImportError: No module named django

https://pythonhosted.org/django-jython/war-deployment.html

Collin Anderson

unread,
Jan 30, 2015, 8:25:38 AM1/30/15
to django...@googlegroups.com
Hi,

I think you to make sure django is on your PYTHONPATH / sys.path

Collin
Reply all
Reply to author
Forward
0 new messages