git://git.onelab.eu
/
myslice.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
89af8ba
)
Merge branch 'onelab' of ssh://git.onelab.eu/git/myslice into onelab
author
Loic Baron
<loic.baron@lip6.fr>
Tue, 9 Feb 2016 17:44:01 +0000
(18:44 +0100)
committer
Loic Baron
<loic.baron@lip6.fr>
Tue, 9 Feb 2016 17:44:01 +0000
(18:44 +0100)
myslice.wsgi
[new file with mode: 0644]
patch
|
blob
diff --git a/myslice.wsgi
b/myslice.wsgi
new file mode 100644
(file)
index 0000000..
2344a56
--- /dev/null
+++ b/
myslice.wsgi
@@ -0,0
+1,12
@@
+import os
+import sys
+
+path = '/var/www/myslice'
+if path not in sys.path:
+ sys.path.append(path)
+
+os.environ['DJANGO_SETTINGS_MODULE'] = 'myslice.settings'
+
+import django.core.handlers.wsgi
+application = django.core.handlers.wsgi.WSGIHandler()
+