Remove unused templates.
authorRadek Czajka <radekczajka@nowoczesnapolska.org.pl>
Wed, 2 Apr 2014 12:19:44 +0000 (14:19 +0200)
committerRadek Czajka <radekczajka@nowoczesnapolska.org.pl>
Wed, 2 Apr 2014 12:19:44 +0000 (14:19 +0200)
koedquiz.vhost.template [deleted file]
koedquiz.wsgi.template [deleted file]
koedquiz/localsettings.py.template [deleted file]

diff --git a/koedquiz.vhost.template b/koedquiz.vhost.template
deleted file mode 100644 (file)
index 57591ac..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-<VirtualHost *:80>
-    ServerName "%(server_name)s"
-    ServerAdmin "%(server_admin)s"
-
-    WSGIDaemonProcess %(wsgi_name)s user=%(user)s group=%(user)s processes=2 threads=15 display-name=%%{GROUP} python-path=%(site_packages)s
-    WSGIProcessGroup %(wsgi_name)s
-
-    WSGIScriptAlias / %(path)s/%(project_name)s.wsgi
-    <Directory %(path)s>
-        Order allow,deny
-        allow from all
-    </Directory>
-
-    Alias /media %(path)s/media
-    <Directory %(path)s/media>
-        Options Indexes
-        Order allow,deny
-        Allow from all
-    </Directory>
-        
-    Alias /static %(path)s/releases/current/%(project_name)s/static
-    <Directory %(path)s/releases/current/%(project_name)s/static>
-        Options Indexes
-        Order allow,deny
-        Allow from all
-    </Directory>
-
-    LogLevel warn
-    ErrorLog /var/log/apache2/%(error_log)s
-    CustomLog /var/log/apache2/%(access_log)s combined
-</VirtualHost>
diff --git a/koedquiz.wsgi.template b/koedquiz.wsgi.template
deleted file mode 100644 (file)
index af1781c..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-#!%(python)s
-import site
-site.addsitedir('%(site_packages)s')
-
-import os
-from os.path import abspath, dirname, join
-import sys
-
-# Redirect sys.stdout to sys.stderr for bad libraries like geopy that use
-# print statements for optional import exceptions.
-sys.stdout = sys.stderr
-
-# Add apps and lib directories to PYTHONPATH
-sys.path = [
-       '%(path)s/releases/current/%(project_name)s',
-       '%(path)s/releases/current',
-       '%(path)s/releases/current/apps',
-       '%(path)s/releases/current/lib',
-    # add paths to submodules here
-] + sys.path
-
-# Run Django
-os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
-
-from django.core.handlers.wsgi import WSGIHandler
-application = WSGIHandler()
diff --git a/koedquiz/localsettings.py.template b/koedquiz/localsettings.py.template
deleted file mode 100644 (file)
index 3765080..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-# This template is uploaded by `fab setup`.
-# You should fill out the details in the version deployed on the server.
-
-
-ADMINS = (
-    #('Name', 'E-mail'),
-)
-
-MANAGERS = (
-    #('Name', 'E-mail'),
-)
-
-# on
-DATABASES = {
-    'default': {
-        'ENGINE': 'django.db.backends.', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
-        'NAME': '', # Or path to database file if using sqlite3.
-        'USER': '',                      # Not used with sqlite3.
-        'PASSWORD': '',                  # Not used with sqlite3.
-        'HOST': '',                      # Set to empty string for localhost. Not used with sqlite3.
-        'PORT': '',                      # Set to empty string for default. Not used with sqlite3.
-    }
-}
-
-
-SECRET_KEY = %(secret_key)r
-MEDIA_ROOT = '%(path)s/media/'