Skip to content

Commit

Permalink
add sample django_settings_module.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jontsai committed Feb 14, 2014
1 parent 1c45c61 commit 814121e
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions django_settings_module.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
"""django_settings_module.py
This file is used to establish the Django context when invoking Python standalone scripts.
How to use:
1. Copy this file to the project's top-level directory
2. Uncomment and replace YOURAPP with the name of your app
"""

import os

#os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'YOURAPP.settings')

0 comments on commit 814121e

Please sign in to comment.