Thanks.This is a good solution but the last solution :-). I want to
have the file structure hiararchy as it is now and I don't want to
change it. In fact I want to have a folder named as mySite and two
folder in it named as firstApp and secondApp and views.py and
models.py files in these folders.

Can I test another way instead of moving my files?

On Feb 11, 12:35 pm, "James Bennett" <[EMAIL PROTECTED]> wrote:
> On Feb 11, 2008 3:33 AM, Rozita <[EMAIL PROTECTED]> wrote:
>
> > Is there any way that I can omit project name from import statements?
>
> Yes.
>
> Refactor your code so that the applications are no longer in the
> project folder, and put them directly on the Python import path
> instead. This is generally what you should be doing anyway.
>
> --
> "Bureaucrat Conrad, you are technically correct -- the best kind of correct."
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to