Friday, January 30, 2015

Re: path to django from jython

Hi,

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

Collin

On Tuesday, January 27, 2015 at 10:51:13 AM UTC-5, Josh Stratton wrote:
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

--
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/1d542d5c-07ed-46c0-ad6d-4fc3bab8e29e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment