From: Thierry Parmentelat Date: Thu, 28 Nov 2013 08:51:41 +0000 (+0100) Subject: create a symlink for the wsgi application - this is for the django development server... X-Git-Tag: myslice-0.3-0~103^2~3^2 X-Git-Url: http://git.onelab.eu/?p=myslice.git;a=commitdiff_plain;h=e826303ab6fd107dfcc3664176d1598676c638d7 create a symlink for the wsgi application - this is for the django development server only --- diff --git a/unfold/wsgi.py b/unfold/wsgi.py new file mode 120000 index 00000000..579c87b5 --- /dev/null +++ b/unfold/wsgi.py @@ -0,0 +1 @@ +../apache/unfold.wsgi \ No newline at end of file diff --git a/unfold/wsgi.readme b/unfold/wsgi.readme new file mode 100644 index 00000000..7c287edb --- /dev/null +++ b/unfold/wsgi.readme @@ -0,0 +1,9 @@ +not quite sure where to store the wsgi application file in the codebase +it used to be in unfold/wsgi.py but that looked a bit awkward +one of the reasons for that is, the apache/ config (apache/unfold.conf) +needs to reference the installed wsgi file, so we'd rather not have this +installed in the python library where names are not known in advance +-- +So at some point it was decided to have it moved with the apache/ config +The symlink here is only for the django development server to find it at run time +see settings.py and the definition of WSGI_APPLICATION