On 6 Aug 2006, at 14:20, limodou wrote:
> And you can also add these code at the top of your script:
>
> import settings
> from django.core.management import setup_environ
> setup_environ(settings)
>
> So you don't need to setup DJANGO_SETTING_MODULE env variable any
> more. But the settings module should be settings.

I’d rather not do this as I would prefer not hardcoding the name of  
the settings module. I know it’s the default auto-generated one but I  
am used to rename the settings module to stuff like  
settings_development or settings_production etc.

> And other suggestion is: can methods be displayed in dot?

I *think* so, I’ll have a look.

Thanks again!
-- 
Antonio


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