walterbyrd wrote:
>
>
> On Jul 2, 2:30 pm, Carl Karsten <[EMAIL PROTECTED]> wrote:
>> walterbyrdwrote:
>>> On Jul 2, 1:24 pm, Vincent Nijs <[EMAIL PROTECTED]>
>>> wrote:
>>>> all the 'settings' are taken care of for you so you don't have to do any
>>>> exports or anything like that. The import statement for Context and
>>>> Template
>>>> should work fine when you use the above command.
>>> Okay, but what happens if I'm not using the interactive shell?
>> um, then you don't do anything interactively.
>>
>
> If I'm using the interactive shell, then all of the setting are
> magically taken care of for me - if I run the shell in that particular
> manner. I have no idea what's going on, and that makes me feel a
> little uneasy. But, okay, it works.
I think you will feel better if you look at manage.py which is basically:
from django.core.management import execute_manager
import settings # Assumed to be in the same directory.
execute_manager(settings)
"import settings" is the magic :)
>
> But, what if I'm not using the interactive shell? Will the setting be
> taken care of for me? Do I have to adjust the setting manually? Or
> what?
"not using X" does not say what you are doing - my best guess is "what will be
available if I just run python?" if so, the answer is "nothing other than you
can import django."
but I am only guessing that is the question.
Carl K
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---