Hello,

I'm trying to document my own webpage's code so I will remember each piece
if I have to touch it later. I added docstrings to several functions
already, and while this is generally enough, I couldn't help but tried
pydoc blog.models.Post
What I got instead of the craved documents was an ImuroperlyConfigured
exception. I found some clues that defining a settings module via the
DJANGO_SETTINGS_MODULE  environment variable would help (and it does), but
it just doesn't sound right to me. Isn't there an easier solution? (Note
that I don't count putting this env variable to the virtualenv's activate
scripts as an easier method :)

Best,
Gergely

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CACczBUJiQG6O1OOWGs26nMYXjexH_H8QjbdpuapnTEHkTmN%2B6A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to