Another possibility would be to simply encourage the placing of the
'project.apps' directory in the PYTHONPATH as well as the parent
directory of 'project'.

If this was the convention, then people could simply simply use the
form:

myproject.models.modulename
myproject.utils.anothermodule
etc.

This is a little bit more convenient then typing in:

django.apps.myproject.models.modulename
django.apps.myproject.utils.anothermodule
etc.

Sorry for beating this topic into the ground, but I think there is a
great potential for sharing of applications and I would like to see
some convention developed for this.

I also realize this is essentially doing what Adrian did with his
separate project... but I am coming from the perspective that most
people are going to want to build their apps according to the tutorials
and then find they need to do some refactoring to decouple their app
from their project when it should have been decoupled to start with.

thanks for reading...
ian

Reply via email to