severity 436983 minor
tag 436983 + wontfix
thanks

On Thu, 09 Aug 2007, Mark Eichin wrote:
> Package: python-django
> Version: 0.96-1
> Severity: normal
> 
> $ pydoc django.db
> problem in django.db - EnvironmentError: Environment variable 
> DJANGO_SETTINGS_MODULE is undefined.

All packages which access django.conf.settings at import time (and several
do) are going to expose the same behaviour.

Django is not meant to be executed outside of a Django project created
by django-admin. I'm sorry that this behaviour is unfriendly towards pydoc
but I doubt there's any way to avoid this (without defining the variable
DJANGO_SETTINGS_MODULE to point to a valid Django settings module).

Cheers,
-- 
Raphaël Hertzog

Premier livre français sur Debian GNU/Linux :
http://www.ouaza.com/livre/admin-debian/

Reply via email to