Add admin site conf in apache.conf.dist template
authorkaliko <kaliko.jack@azylum.org>
Sat, 23 Feb 2013 13:34:00 +0000 (14:34 +0100)
committerkaliko <kaliko.jack@azylum.org>
Sat, 23 Feb 2013 13:34:00 +0000 (14:34 +0100)
doc/apache.conf.dist

index 0f999b4..256053b 100755 (executable)
@@ -11,6 +11,12 @@ WSGIPythonPath /path/to/source/python/scrobblerserver
 # If you get django 1.4 inside a virtualenv, use the folowing:
 #WSGIPythonPath /path/to/source/python/scrobblerserver:/path/to/venvs/scserver_venv/lib/python2.x/site-packages
 
+# To get django admin site available.
+# Depending on where and how you did install django:
+#Alias /static/admin /path/to/django/contrib/admin/static/admin
+# for virtualenv, same as previously, adapt location
+#Alias /static/admin /path/to/venvs/scserver_venv/lib/python2.x/site-packages/django/contrib/admin/static/admin
+
 # Set up for directory holding wsgi.py
 <Directory /path/to/source/scrobblerserver/scrobblerserver>
                <Files wsgi.py>