- rename myslice.wsgi into wsgi.py and propagate this change.
authorMohamed Larabi <mohamed.larabi@inria.fr>
Thu, 24 Oct 2013 13:14:16 +0000 (15:14 +0200)
committerMohamed Larabi <mohamed.larabi@inria.fr>
Thu, 24 Oct 2013 13:14:16 +0000 (15:14 +0200)
- update variable WSGI_APPLICATION in myslice/settings.py.

apache/__init__.py [new file with mode: 0644]
apache/myslice.conf
apache/wsgi.py [moved from apache/myslice.wsgi with 100% similarity]
debian/unfold.install
myslice/settings.py
setup.py

diff --git a/apache/__init__.py b/apache/__init__.py
new file mode 100644 (file)
index 0000000..e69de29
index 9e8a155..a7f6f2c 100644 (file)
@@ -1,7 +1,7 @@
 <VirtualHost *:80>
-        WSGIScriptAlias / /usr/share/unfold/apache/myslice.wsgi
+        WSGIScriptAlias / /usr/share/unfold/apache/wsgi.py
         <Directory /usr/share/unfold/apache>
-        <Files myslice.wsgi>
+        <Files wsgi.py>
         Order deny,allow
         Allow from all
         </Files>
similarity index 100%
rename from apache/myslice.wsgi
rename to apache/wsgi.py
index 4f3996e..8dc6fd8 100644 (file)
@@ -12,4 +12,4 @@ usr/share/unfold/trash
 usr/share/unfold/debug_platform
 manage.py usr/share/unfold/
 apache/myslice.conf /etc/apache2/sites-available
-apache/myslice.wsgi usr/share/unfold/apache
+apache/wsgi.py usr/share/unfold/apache
index 4878c0d..7b9e3c2 100644 (file)
@@ -148,7 +148,7 @@ MIDDLEWARE_CLASSES = (
 ROOT_URLCONF = 'myslice.urls'
 
 # Python dotted path to the WSGI application used by Django's runserver.
-WSGI_APPLICATION = 'myslice.wsgi.application'
+WSGI_APPLICATION = 'apache.wsgi.application'
 
 TEMPLATE_DIRS = (
     # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
index 98d1368..87b7788 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -20,5 +20,5 @@ setup(packages = packages,
         ( 'static/img', glob ('static/img/*')),
         ( 'static/fonts', glob ('static/fonts/*')),
         ( 'templates', glob ('templates/*')),
-        ( 'apache', [ 'apache/myslice.conf', 'apache/myslice.wsgi' ]),
+        ( 'apache', [ 'apache/myslice.conf', 'apache/wsgi.py' ]),
         ])