Re: INSTALLED_APPS doesn't check my projet dir
When you put an app into INSTALLED_APPS, it looks on your PYTHONPATH.
If you make an app intended to be pluggable, your users should be
installing your application with pip or something, and your app code
will exist on the PYTHONPATH, not in a subfolder of their Django
project.
If you want to develop your app in a manner more like it will be used,
then put your app outside of your Django project, and on your
PYTHONPATH. That will allow (force) you to import it as another
developer who plugged in your app would.
Shawn
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home