Django, Python, & Random Leftovers

Articles by Category: Django

Setting Django Environment Variables in a Python Script

Posted July 15, 2007

If you use the Django database API from a Python script, you will probably need to set the DJANGO_SETTINGS_MODULE and PYTHONPATH environment variables. Read on to find out how.

Articles by Category
Python, Django, Subversion, Mac, Linux, PHP, PostgreSQL