On Oct 24, 9:30 am, Carl Meyer <[EMAIL PROTECTED]> wrote:
> manage.py puts both the project dir itself and its parent dir
> onto the Python path.
Sorry, this is not accurate. manage.py only adds the project's parent
dir explicitly. Importing by app name works because generally you'd
run manage.py from within the project dir ("./manage.py"), thus it is
the current directory, which is on the Python path.
Nonetheless, the point stands. Since the tutorial only advises
running manage.py from in the project dir, everything in the tutorial
would work just as well if the project name were removed from every
app import statement.
Carl
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---