summaryrefslogtreecommitdiffstats
path: root/manage.py
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2009-08-04 23:25:33 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2009-08-04 23:25:33 -0400
commit3ddaeb2d1c9a556768856d3e6b810dfd354aa01e (patch)
tree1a467ee87ae834590e2d6c88fdaeaf7e391e995d /manage.py
parenta2ec9785ae0367eaf7fb1d094544bd90d0aace85 (diff)
downloadaskbot-3ddaeb2d1c9a556768856d3e6b810dfd354aa01e.tar.gz
askbot-3ddaeb2d1c9a556768856d3e6b810dfd354aa01e.tar.bz2
askbot-3ddaeb2d1c9a556768856d3e6b810dfd354aa01e.zip
included changes by Adolfo and Chaitanya and found temporary fix for languages
Diffstat (limited to 'manage.py')
-rw-r--r--manage.py22
1 files changed, 11 insertions, 11 deletions
diff --git a/manage.py b/manage.py
index b8c4be8e..5e78ea97 100644
--- a/manage.py
+++ b/manage.py
@@ -1,11 +1,11 @@
-#!/usr/bin/env python
-from django.core.management import execute_manager
-try:
- import settings # Assumed to be in the same directory.
-except ImportError:
- import sys
- sys.stderr.write("Error: Can't find the file 'settings.py' in the directory containing %r. It appears you've customized things.\nYou'll have to run django-admin.py, passing it your settings module.\n(If the file settings.py does indeed exist, it's causing an ImportError somehow.)\n" % __file__)
- sys.exit(1)
-
-if __name__ == "__main__":
- execute_manager(settings)
+#!/usr/bin/env python
+from django.core.management import execute_manager
+try:
+ import settings # Assumed to be in the same directory.
+except ImportError:
+ import sys
+ sys.stderr.write("Error: Can't find the file 'settings.py' in the directory containing %r. It appears you've customized things.\nYou'll have to run django-admin.py, passing it your settings module.\n(If the file settings.py does indeed exist, it's causing an ImportError somehow.)\n" % __file__)
+ sys.exit(1)
+
+if __name__ == "__main__":
+ execute_manager(settings)