Sunday, May 5, 2013

Re: Reloading modules during development

* Aljoša Mohorović <aljosa.mohorovic@gmail.com> [130505 11:28]:
> django has development server which autoreloads
> check https://docs.djangoproject.com/en/1.5/ref/django-admin/
Thanks. However this is very problematic. Don't know how to start
it.
Example :
Project is at /Users/http/run/test0
From /Users/http/run/test0 invoke :
django-admin.py runserver 127.0.0.1:8001 --pythonpath=/Users/http/run/test0
Error message :
"""
Error: Could not import settings '/Users/http/run/test0/settings'
(Is it on sys.path?): Import by filename is not supported
"""
???
Another attempt :
From /Users/http/run/test0 invoke :
django-admin.py runserver 127.0.0.1:8001 --settings=settings
Error: Could not import settings 'settings' (Is it on sys.path?):
No module named settings
???
Thanks for the quick reply, but not working yet!
--
Tim
tim at tee jay forty nine dot com or akwebsoft dot com
http://www.akwebsoft.com

--
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate