summaryrefslogtreecommitdiff
path: root/django/archives/settings.py
diff options
context:
space:
mode:
authorMagnus Hagander2019-01-03 20:52:58 +0000
committerMagnus Hagander2019-01-04 11:24:06 +0000
commit69af766f8fae8ef489d951c71a37966fc51d736b (patch)
tree1e394a959d7ec9b49797b6cb74ec2eac5dbd47e8 /django/archives/settings.py
parent1e165224612094e7605d9109e70a3034a0f5a864 (diff)
Whitespace fixes
Diffstat (limited to 'django/archives/settings.py')
-rw-r--r--django/archives/settings.py16
1 files changed, 3 insertions, 13 deletions
diff --git a/django/archives/settings.py b/django/archives/settings.py
index 8b942ac..80b990e 100644
--- a/django/archives/settings.py
+++ b/django/archives/settings.py
@@ -11,7 +11,7 @@ MANAGERS = ADMINS
DATABASES = {
'default': {
- 'ENGINE': 'django.db.backends.postgresql_psycopg2', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
+ 'ENGINE': 'django.db.backends.postgresql_psycopg2', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
'NAME': 'archives', # Or path to database file if using sqlite3.
'USER': '', # Not used with sqlite3.
'PASSWORD': '', # Not used with sqlite3.
@@ -74,14 +74,6 @@ STATICFILES_DIRS = (
# Don't forget to use absolute paths, not relative paths.
)
-# List of finder classes that know how to find static files in
-# various locations.
-#STATICFILES_FINDERS = (
-# 'django.contrib.staticfiles.finders.FileSystemFinder',
-# 'django.contrib.staticfiles.finders.AppDirectoriesFinder',
-# 'django.contrib.staticfiles.finders.DefaultStorageFinder',
-#)
-
# Make this unique, and don't share it with anybody.
SECRET_KEY = '7j9q&&!g26rkh!=g%1zb@20b^k^gmzy4=!mhzu2wesxb9b%16m'
@@ -134,10 +126,8 @@ LOGGING = {
}
}
-
-
# Required for lighttpd
-FORCE_SCRIPT_NAME=""
+FORCE_SCRIPT_NAME = ""
# Always override!
SEARCH_CLIENTS = ('127.0.0.1',)
@@ -164,4 +154,4 @@ if not PUBLIC_ARCHIVES:
] + INSTALLED_APPS
from archives.util import validate_new_user
- PGAUTH_CREATEUSER_CALLBACK=validate_new_user
+ PGAUTH_CREATEUSER_CALLBACK = validate_new_user