Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Made the manage.py work for the docs site too.

  • Loading branch information...
commit 95d533ed9b9e8535584b0cda93652bbddd95b18d 1 parent c9bad01
Jacob Kaplan-Moss authored January 27, 2011

Showing 1 changed file with 7 additions and 2 deletions. Show diff stats Hide diff stats

  1. 9  manage.py
9  manage.py
@@ -4,6 +4,11 @@
4 4
 import sys
5 5
 sys.path.append(os.path.abspath(os.path.dirname(__file__)))
6 6
 
7  
-import django_website.settings.www
  7
+if '--docs' in sys.argv:
  8
+    import django_website.settings.docs as settings
  9
+    sys.argv.remove('--docs')
  10
+else:
  11
+    import django_website.settings.www as settings
  12
+    
8 13
 from django.core.management import execute_manager
9  
-execute_manager(django_website.settings.www)
  14
+execute_manager(settings)

0 notes on commit 95d533e

Please sign in to comment.
Something went wrong with that request. Please try again.