Anonymous user
Boston Python Workshop/Saturday/Web app project: Difference between revisions
Boston Python Workshop/Saturday/Web app project (view source)
Revision as of 12:23, 5 March 2011
, 13 years ago→Playing with the API
imported>Paulproteus |
imported>Paulproteus |
||
Line 230:
We're using this instead of simply typing "python", because manage.py sets up the project's environment for you. "Setting up the environment" involves two things:
▲ Setting the DJANGO_SETTINGS_MODULE environment variable, which gives Django the path to your settings.py file.
Once you're in the shell, explore the database API:
|