ImportError: Settings cannot be imported, because environment variable
DJANGO_SETTINGS_MODULE is undefined

Hi guys,
nothing to do with 1.3 awesome new features...
but I'm trying to use django forms outside django (why not!).
Not possible because of the above.

The settings is imported in django.forms.widgets and only used by the Media
class absolute_path function.
I think that import should be removed and the absolute_path function written
differently. Anyone agrees?
I can do the line deletion and the new function implementation if required.

Best

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" 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-developers?hl=en.

Reply via email to