On 10/8/06, ryangriff.in <[EMAIL PROTECTED]> wrote:
>
> A question, If I am working on multiple django projects do I have to
> continually set the DJANGO_SETTINGS_MODULE to point at the settings of the
> project I am currently working on?

'Continually' isn't really the right way to put it. You only need to
set it once per bash session. If you are only planning on working on
one project at a time, you can simplify this by putting
DJANGO_SETTINGS_MODULE in you .bash_profile. Alternatively, you can
just make the export the first thing you do when you start a terminal
session. The setting will persist for the lifetime of the terminal
session.

Plus, as James pointed out, you can always run 'python manage.py syncdb'

It sounds like this is your first foray as a Mac user into the world
of the terminal/shell prompt. If this is the case, you should know
that environment variables and the errors you are getting here are not
Mac or Django specific - they are all fairly standard Unix shell
stuff. It would probably be worth your while spending an evening or
two running through a Unix tutorial to get a handle on the basics.

I can't say I can personally recommend a good tutorial (I haven't been
in the market for a bash tutorial for a while), but the bash shell
that OSX uses by default is also the default on many breeds of Linux,
so any Linux bash shell tutorial will probably do the trick. Someone
else on the list might be able to suggest a good one.

Yours,
Russ Magee %-)

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to