Some configuration variables (like USE_I18N) must be defined.  Defaults
are set in django.conf.global_settings, which is the default first
argument to settings.configure().
Following **keyword arguments are added to the resulting settings
object.

> settings.configure(mysettings)

Could instead be
> mysettings = dict((k,v) for k,v in mysettings.__dict__.items() if k.isupper())
> settings.configure(**mysettings)
The first line is necessary just to filter out low-level variables
(like __module__) that shouldn't be passed in this way.

But you could just use this instead of all the above
> import os
> os.environ['DJANGO_SETTINGS_MODULE'] = 'ecatLupus.settings'
> from ecatLupus.production.models import *

- Josh


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