I would like to ask, what is the blessed way of importing different modules inside django project. Until this moment I have used something like this:
from <project_name>.<app_name>.models import SomeModel However, this is no good for me. When I changed name of the directory holding the project (I have created branch repo using mercurial), it stopped importing anything. Does it mean I should just use relative imports and this would be fine? Do I have to then always add root directory to the PYTHON_PATH or can I live without it? How exactly django projects should be constructed. -- Filip Gruszczyński --~--~---------~--~----~------------~-------~--~----~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---