From e826303ab6fd107dfcc3664176d1598676c638d7 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Thu, 28 Nov 2013 09:51:41 +0100 Subject: [PATCH 1/1] create a symlink for the wsgi application - this is for the django development server only --- unfold/wsgi.py | 1 + unfold/wsgi.readme | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 120000 unfold/wsgi.py create mode 100644 unfold/wsgi.readme 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 -- 2.43.0