Well there are really two options I think. The first option is how you were doing it:
from project_folder.app_name.models import SomeModel You also found out the problem with this method. If you rename project_folder, you have to change all the imports in your project. The other option is to add your project_folder to PYTHONPATH, then you can do the import without your project_folder like this: from app_name.models import SomeModel Your choice. I prefer the first method. Changing the imports isn't terribly difficult (global find and replace) for the few times the project folder gets renamed. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---

