We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
Update installation instructions
https://evap.readthedocs.org/en/latest/installation.html

Someone should follow these instructions and see if they are correct and complete.

The short version at https://github.com/fsr-itse/EvaP should also be checked again.


--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `evap/settings.py`
Content:
```
1 # Django settings for evap project.
2 
3 # automatically determine SITE_ROOT, used for absolute paths below
4 import os.path
5 SITE_ROOT = os.path.dirname(os.path.realpath(__file__))
6 
7 DEBUG = True
8 TEMPLATE_DEBUG = DEBUG
9 
10 ADMINS = (
11     # ('Your Name', 'your_email@example.com'),
12 )
13 
14 MANAGERS = ADMINS
15 
16 DATABASES = {
17     'default': {
18         'ENGINE': 'django.db.backends.sqlite3', # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
19         'NAME': os.path.join(SITE_ROOT, 'database.sqlite3'), # Or path to database file if using sqlite3.
20         'USER': '',                             # Not used with sqlite3.
21         'PASSWORD': '',                         # Not used with sqlite3.
22         'HOST': '',                             # Set to empty string for localhost. Not used with sqlite3.
23         'PORT': '',                             # Set to empty string for default. Not used with sqlite3.
24     }
25 }
26 
27 CACHES = {
28     'default': {
29     #    'BACKEND': 'django.core.cache.backends.dummy.DummyCache',
30         'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
31     }
32 }
33 
34 # config for feedback links
35 FEEDBACK_EMAIL = "webmaster@localhost"
36 TRACKER_URL = "https://github.com/fsr-itse/EvaP"
37 
38 # config for mail system
39 DEFAULT_FROM_EMAIL = "webmaster@localhost"
40 REPLY_TO_EMAIL = DEFAULT_FROM_EMAIL
41 if DEBUG:
42     EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
43 
44 # key authentication settings
45 LOGIN_KEY_VALIDITY = 210 # days, so roughly 7 months
46 
47 # minimum answers needed for publishing
48 MIN_ANSWER_COUNT = 2
49 MIN_ANSWER_PERCENTAGE = 0.2
50 
51 # days before end date to send reminder
52 REMIND_X_DAYS_AHEAD_OF_END_DATE = 2
53 
54 # email domains for the internal users of the hosting institution used to
55 # figure out who can login with username and password and who needs a login key
56 INSTITUTION_EMAIL_DOMAINS = ["hpi.uni-potsdam.de", "student.hpi.uni-potsdam.de"]
57 
58 # Local time zone for this installation. Choices can be found here:
59 # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
60 # although not all choices may be available on all operating systems.
61 # On Unix systems, a value of None will cause Django to use the same
62 # timezone as the operating system.
63 # If running in a Windows environment this must be set to the same as your
64 # system time zone.
65 TIME_ZONE = 'Europe/Berlin'
66 
67 # Language code for this installation. All choices can be found here:
68 # http://www.i18nguy.com/unicode/language-identifiers.html
69 LANGUAGE_CODE = 'en'
70 
71 LANGUAGES = (
72     ('en', "English"),
73     ('de', "Deutsch"),
74 )
75 
76 SITE_ID = 1
77 
78 # If you set this to False, Django will make some optimizations so as not
79 # to load the internationalization machinery.
80 USE_I18N = True
81 
82 # If you set this to False, Django will not format dates, numbers and
83 # calendars according to the current locale
84 USE_L10N = True
85 
86 # Locale paths
87 LOCALE_PATHS = (
88     os.path.join(SITE_ROOT, "locale"),
89 )
90 
91 # Absolute filesystem path to the directory that will hold user-uploaded files.
92 # Example: "/home/media/media.lawrence.com/media/"
93 MEDIA_ROOT = os.path.join(SITE_ROOT, "upload")
94 
95 # URL that handles the media served from MEDIA_ROOT. Make sure to use a
96 # trailing slash.
97 # Examples: "http://media.lawrence.com/media/", "http://example.com/media/"
98 MEDIA_URL = '/media/'
99 
100 # Absolute path to the directory static files should be collected to.
101 # Don't put anything in this directory yourself; store your static files
102 # in apps' "static/" subdirectories and in STATICFILES_DIRS.
103 # Example: "/home/media/media.lawrence.com/static/"
104 STATIC_ROOT = os.path.join(SITE_ROOT, "staticfiles")
105 
106 # URL prefix for static files.
107 # Example: "http://media.lawrence.com/static/"
108 STATIC_URL = '/static/'
109 
110 # URL prefix for admin static files -- CSS, JavaScript and images.
111 # Make sure to use a trailing slash.
112 # Examples: "http://foo.com/static/admin/", "/static/admin/".
113 ADMIN_MEDIA_PREFIX = '/static/admin/'
114 
115 # Additional locations of static files
116 STATICFILES_DIRS = (
117     # Put strings here, like "/home/html/static" or "C:/www/django/static".
118     # Always use forward slashes, even on Windows.
119     # Don't forget to use absolute paths, not relative paths.
120     os.path.join(SITE_ROOT, "static"),
121 )
122 
123 # List of finder classes that know how to find static files in
124 # various locations.
125 STATICFILES_FINDERS = (
126     'django.contrib.staticfiles.finders.FileSystemFinder',
127     'django.contrib.staticfiles.finders.AppDirectoriesFinder',
128 #    'django.contrib.staticfiles.finders.DefaultStorageFinder',
129 )
130 
131 # Make this unique, and don't share it with anybody.
132 SECRET_KEY = 'k9-)vh3c_dtm6bpi7j(!*s_^91v0!ekjt_#o&0i$e22tnn^-vb'
133 
134 # List of callables that know how to import templates from various sources.
135 TEMPLATE_LOADERS = (
136     'django.template.loaders.filesystem.Loader',
137     'django.template.loaders.app_directories.Loader',
138 #     'django.template.loaders.eggs.Loader',
139 )
140 
141 TEMPLATE_CONTEXT_PROCESSORS = (
142     "django.contrib.auth.context_processors.auth",
143     "django.core.context_processors.debug",
144     "django.core.context_processors.i18n",
145     "django.core.context_processors.media",
146     "django.core.context_processors.static",
147     "django.core.context_processors.request",
148     "django.contrib.messages.context_processors.messages",
149 )
150 
151 MIDDLEWARE_CLASSES = (
152     'django.middleware.common.CommonMiddleware',
153     'django.contrib.sessions.middleware.SessionMiddleware',
154     'django.middleware.locale.LocaleMiddleware',
155     'django.middleware.csrf.CsrfViewMiddleware',
156     'django.contrib.auth.middleware.AuthenticationMiddleware',
157     'django.contrib.messages.middleware.MessageMiddleware',
158     'evap.evaluation.auth.RequestAuthMiddleware',
159     'evap.evaluation.403.Django403Middleware',
160 )
161 
162 AUTHENTICATION_BACKENDS = (
163     'evap.evaluation.auth.RequestAuthUserBackend',
164     'django.contrib.auth.backends.ModelBackend',
165 )
166 
167 LOGIN_URL = "/"
168 
169 ROOT_URLCONF = 'evap.urls'
170 
171 TEMPLATE_DIRS = (
172     # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
173     # Always use forward slashes, even on Windows.
174     # Don't forget to use absolute paths, not relative paths.
175     os.path.join(SITE_ROOT, "templates"),
176 )
177 
178 INSTALLED_APPS = (
179     'django.contrib.auth',
180     'django.contrib.contenttypes',
181     'django.contrib.sessions',
182     'django.contrib.sites',
183     'django.contrib.messages',
184     'django.contrib.staticfiles',
185     'django.contrib.admin',
186     'south',
187     'widget_tweaks',
188     'evap.evaluation',
189     'evap.fsr',
190     'evap.results',
191     'evap.student',
192     'evap.contributor',
193 )
194 if not DEBUG:
195     INSTALLED_APPS += (
196         'raven.contrib.django.raven_compat',
197     )
198 
199 RAVEN_CONFIG = {
200     'dsn': 'http://public:secret@example.com/1',
201 }
202 
203 # A sample logging configuration. The only tangible logging
204 # performed by this configuration is to send an email to
205 # the site admins on every HTTP 500 error.
206 # See http://docs.djangoproject.com/en/dev/topics/logging for
207 # more details on how to customize your logging configuration.
208 LOGGING = {
209     'version': 1,
210     'disable_existing_loggers': False,
211     'filters': {
212          'require_debug_false': {
213              '()': 'django.utils.log.RequireDebugFalse'
214          }
215      },
216     'handlers': {
217         'sentry': {
218             'level': 'ERROR',
219             'class': 'raven.contrib.django.handlers.SentryHandler',
220         },
221         'mail_admins': {
222             'level': 'ERROR',
223             'filters': ['require_debug_false'],
224             'class': 'django.utils.log.AdminEmailHandler'
225         },
226         'console': {
227             'level': 'INFO',
228             'class': 'logging.StreamHandler'
229         }
230     },
231     'loggers': {
232         'django.request': {
233             'handlers': ['mail_admins'],
234             'level': 'ERROR',
235             'propagate': True,
236         },
237         'evap.evaluation.management.commands.import_evaj': {
238             'handlers': ['console'],
239             'level': 'INFO'
240         },
241         'raven': {
242             'level': 'DEBUG',
243             'handlers': ['console'],
244             'propagate': False,
245         },
246         'sentry.errors': {
247             'level': 'DEBUG',
248             'handlers': ['console'],
249             'propagate': False,
250         }
251     }
252 }
253 
254 # Create a local_settings.py if you want to override settings per machine
255 # or user, e.g. for development or different settings in deployments using
256 # multiple servers.
257 _LOCAL_SETTINGS_FILENAME = os.path.join(SITE_ROOT, "localsettings.py")
258 if os.path.exists(_LOCAL_SETTINGS_FILENAME):
259     execfile(_LOCAL_SETTINGS_FILENAME)
260 del _LOCAL_SETTINGS_FILENAME
261
```
--- END FILES ---

Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.

Here is an example:

```diff
diff --git a/examples/server_async.py b/examples/server_async.py
--- a/examples/server_async.py
+++ b/examples/server_async.py
@@ -313,4 +313,4 @@
 
 
 if __name__ == "__main__":
-    asyncio.run(run_async_server("."), debug=True)
+    asyncio.run(run_async_server(), debug=True)
diff --git a/examples/server_sync.py b/examples/server_sync.py
--- a/examples/server_sync.py
+++ b/examples/server_sync.py
@@ -313,5 +313,5 @@
 
 
 if __name__ == "__main__":
-    server = run_sync_server(".")
+    server = run_sync_server()
     server.shutdown()

```

diff --git a/evap/settings.py b/evap/settings.py
--- a/evap/settings.py
+++ b/evap/settings.py
@@ -251,7 +251,7 @@
     }
 }
 
-# Create a local_settings.py if you want to override settings per machine
+# Create a localsettings.py if you want to override settings per machine
 # or user, e.g. for development or different settings in deployments using
 # multiple servers.
 _LOCAL_SETTINGS_FILENAME = os.path.join(SITE_ROOT, "localsettings.py")

{"golden_diff": "diff --git a/evap/settings.py b/evap/settings.py\n--- a/evap/settings.py\n+++ b/evap/settings.py\n@@ -251,7 +251,7 @@\n     }\n }\n \n-# Create a local_settings.py if you want to override settings per machine\n+# Create a localsettings.py if you want to override settings per machine\n # or user, e.g. for development or different settings in deployments using\n # multiple servers.\n _LOCAL_SETTINGS_FILENAME = os.path.join(SITE_ROOT, \"localsettings.py\")\n", "issue": "Update installation instructions\nhttps://evap.readthedocs.org/en/latest/installation.html\n\nSomeone should follow these instructions and see if they are correct and complete.\n\nThe short version at https://github.com/fsr-itse/EvaP should also be checked again.\n\n", "before_files": [{"content": "# Django settings for evap project.\n\n# automatically determine SITE_ROOT, used for absolute paths below\nimport os.path\nSITE_ROOT = os.path.dirname(os.path.realpath(__file__))\n\nDEBUG = True\nTEMPLATE_DEBUG = DEBUG\n\nADMINS = (\n    # ('Your Name', 'your_email@example.com'),\n)\n\nMANAGERS = ADMINS\n\nDATABASES = {\n    'default': {\n        'ENGINE': 'django.db.backends.sqlite3', # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.\n        'NAME': os.path.join(SITE_ROOT, 'database.sqlite3'), # Or path to database file if using sqlite3.\n        'USER': '',                             # Not used with sqlite3.\n        'PASSWORD': '',                         # Not used with sqlite3.\n        'HOST': '',                             # Set to empty string for localhost. Not used with sqlite3.\n        'PORT': '',                             # Set to empty string for default. Not used with sqlite3.\n    }\n}\n\nCACHES = {\n    'default': {\n    #    'BACKEND': 'django.core.cache.backends.dummy.DummyCache',\n        'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',\n    }\n}\n\n# config for feedback links\nFEEDBACK_EMAIL = \"webmaster@localhost\"\nTRACKER_URL = \"https://github.com/fsr-itse/EvaP\"\n\n# config for mail system\nDEFAULT_FROM_EMAIL = \"webmaster@localhost\"\nREPLY_TO_EMAIL = DEFAULT_FROM_EMAIL\nif DEBUG:\n    EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'\n\n# key authentication settings\nLOGIN_KEY_VALIDITY = 210 # days, so roughly 7 months\n\n# minimum answers needed for publishing\nMIN_ANSWER_COUNT = 2\nMIN_ANSWER_PERCENTAGE = 0.2\n\n# days before end date to send reminder\nREMIND_X_DAYS_AHEAD_OF_END_DATE = 2\n\n# email domains for the internal users of the hosting institution used to\n# figure out who can login with username and password and who needs a login key\nINSTITUTION_EMAIL_DOMAINS = [\"hpi.uni-potsdam.de\", \"student.hpi.uni-potsdam.de\"]\n\n# Local time zone for this installation. Choices can be found here:\n# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name\n# although not all choices may be available on all operating systems.\n# On Unix systems, a value of None will cause Django to use the same\n# timezone as the operating system.\n# If running in a Windows environment this must be set to the same as your\n# system time zone.\nTIME_ZONE = 'Europe/Berlin'\n\n# Language code for this installation. All choices can be found here:\n# http://www.i18nguy.com/unicode/language-identifiers.html\nLANGUAGE_CODE = 'en'\n\nLANGUAGES = (\n    ('en', \"English\"),\n    ('de', \"Deutsch\"),\n)\n\nSITE_ID = 1\n\n# If you set this to False, Django will make some optimizations so as not\n# to load the internationalization machinery.\nUSE_I18N = True\n\n# If you set this to False, Django will not format dates, numbers and\n# calendars according to the current locale\nUSE_L10N = True\n\n# Locale paths\nLOCALE_PATHS = (\n    os.path.join(SITE_ROOT, \"locale\"),\n)\n\n# Absolute filesystem path to the directory that will hold user-uploaded files.\n# Example: \"/home/media/media.lawrence.com/media/\"\nMEDIA_ROOT = os.path.join(SITE_ROOT, \"upload\")\n\n# URL that handles the media served from MEDIA_ROOT. Make sure to use a\n# trailing slash.\n# Examples: \"http://media.lawrence.com/media/\", \"http://example.com/media/\"\nMEDIA_URL = '/media/'\n\n# Absolute path to the directory static files should be collected to.\n# Don't put anything in this directory yourself; store your static files\n# in apps' \"static/\" subdirectories and in STATICFILES_DIRS.\n# Example: \"/home/media/media.lawrence.com/static/\"\nSTATIC_ROOT = os.path.join(SITE_ROOT, \"staticfiles\")\n\n# URL prefix for static files.\n# Example: \"http://media.lawrence.com/static/\"\nSTATIC_URL = '/static/'\n\n# URL prefix for admin static files -- CSS, JavaScript and images.\n# Make sure to use a trailing slash.\n# Examples: \"http://foo.com/static/admin/\", \"/static/admin/\".\nADMIN_MEDIA_PREFIX = '/static/admin/'\n\n# Additional locations of static files\nSTATICFILES_DIRS = (\n    # Put strings here, like \"/home/html/static\" or \"C:/www/django/static\".\n    # Always use forward slashes, even on Windows.\n    # Don't forget to use absolute paths, not relative paths.\n    os.path.join(SITE_ROOT, \"static\"),\n)\n\n# List of finder classes that know how to find static files in\n# various locations.\nSTATICFILES_FINDERS = (\n    'django.contrib.staticfiles.finders.FileSystemFinder',\n    'django.contrib.staticfiles.finders.AppDirectoriesFinder',\n#    'django.contrib.staticfiles.finders.DefaultStorageFinder',\n)\n\n# Make this unique, and don't share it with anybody.\nSECRET_KEY = 'k9-)vh3c_dtm6bpi7j(!*s_^91v0!ekjt_#o&0i$e22tnn^-vb'\n\n# List of callables that know how to import templates from various sources.\nTEMPLATE_LOADERS = (\n    'django.template.loaders.filesystem.Loader',\n    'django.template.loaders.app_directories.Loader',\n#     'django.template.loaders.eggs.Loader',\n)\n\nTEMPLATE_CONTEXT_PROCESSORS = (\n    \"django.contrib.auth.context_processors.auth\",\n    \"django.core.context_processors.debug\",\n    \"django.core.context_processors.i18n\",\n    \"django.core.context_processors.media\",\n    \"django.core.context_processors.static\",\n    \"django.core.context_processors.request\",\n    \"django.contrib.messages.context_processors.messages\",\n)\n\nMIDDLEWARE_CLASSES = (\n    'django.middleware.common.CommonMiddleware',\n    'django.contrib.sessions.middleware.SessionMiddleware',\n    'django.middleware.locale.LocaleMiddleware',\n    'django.middleware.csrf.CsrfViewMiddleware',\n    'django.contrib.auth.middleware.AuthenticationMiddleware',\n    'django.contrib.messages.middleware.MessageMiddleware',\n    'evap.evaluation.auth.RequestAuthMiddleware',\n    'evap.evaluation.403.Django403Middleware',\n)\n\nAUTHENTICATION_BACKENDS = (\n    'evap.evaluation.auth.RequestAuthUserBackend',\n    'django.contrib.auth.backends.ModelBackend',\n)\n\nLOGIN_URL = \"/\"\n\nROOT_URLCONF = 'evap.urls'\n\nTEMPLATE_DIRS = (\n    # Put strings here, like \"/home/html/django_templates\" or \"C:/www/django/templates\".\n    # Always use forward slashes, even on Windows.\n    # Don't forget to use absolute paths, not relative paths.\n    os.path.join(SITE_ROOT, \"templates\"),\n)\n\nINSTALLED_APPS = (\n    'django.contrib.auth',\n    'django.contrib.contenttypes',\n    'django.contrib.sessions',\n    'django.contrib.sites',\n    'django.contrib.messages',\n    'django.contrib.staticfiles',\n    'django.contrib.admin',\n    'south',\n    'widget_tweaks',\n    'evap.evaluation',\n    'evap.fsr',\n    'evap.results',\n    'evap.student',\n    'evap.contributor',\n)\nif not DEBUG:\n    INSTALLED_APPS += (\n        'raven.contrib.django.raven_compat',\n    )\n\nRAVEN_CONFIG = {\n    'dsn': 'http://public:secret@example.com/1',\n}\n\n# A sample logging configuration. The only tangible logging\n# performed by this configuration is to send an email to\n# the site admins on every HTTP 500 error.\n# See http://docs.djangoproject.com/en/dev/topics/logging for\n# more details on how to customize your logging configuration.\nLOGGING = {\n    'version': 1,\n    'disable_existing_loggers': False,\n    'filters': {\n         'require_debug_false': {\n             '()': 'django.utils.log.RequireDebugFalse'\n         }\n     },\n    'handlers': {\n        'sentry': {\n            'level': 'ERROR',\n            'class': 'raven.contrib.django.handlers.SentryHandler',\n        },\n        'mail_admins': {\n            'level': 'ERROR',\n            'filters': ['require_debug_false'],\n            'class': 'django.utils.log.AdminEmailHandler'\n        },\n        'console': {\n            'level': 'INFO',\n            'class': 'logging.StreamHandler'\n        }\n    },\n    'loggers': {\n        'django.request': {\n            'handlers': ['mail_admins'],\n            'level': 'ERROR',\n            'propagate': True,\n        },\n        'evap.evaluation.management.commands.import_evaj': {\n            'handlers': ['console'],\n            'level': 'INFO'\n        },\n        'raven': {\n            'level': 'DEBUG',\n            'handlers': ['console'],\n            'propagate': False,\n        },\n        'sentry.errors': {\n            'level': 'DEBUG',\n            'handlers': ['console'],\n            'propagate': False,\n        }\n    }\n}\n\n# Create a local_settings.py if you want to override settings per machine\n# or user, e.g. for development or different settings in deployments using\n# multiple servers.\n_LOCAL_SETTINGS_FILENAME = os.path.join(SITE_ROOT, \"localsettings.py\")\nif os.path.exists(_LOCAL_SETTINGS_FILENAME):\n    execfile(_LOCAL_SETTINGS_FILENAME)\ndel _LOCAL_SETTINGS_FILENAME\n", "path": "evap/settings.py"}], "after_files": [{"content": "# Django settings for evap project.\n\n# automatically determine SITE_ROOT, used for absolute paths below\nimport os.path\nSITE_ROOT = os.path.dirname(os.path.realpath(__file__))\n\nDEBUG = True\nTEMPLATE_DEBUG = DEBUG\n\nADMINS = (\n    # ('Your Name', 'your_email@example.com'),\n)\n\nMANAGERS = ADMINS\n\nDATABASES = {\n    'default': {\n        'ENGINE': 'django.db.backends.sqlite3', # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.\n        'NAME': os.path.join(SITE_ROOT, 'database.sqlite3'), # Or path to database file if using sqlite3.\n        'USER': '',                             # Not used with sqlite3.\n        'PASSWORD': '',                         # Not used with sqlite3.\n        'HOST': '',                             # Set to empty string for localhost. Not used with sqlite3.\n        'PORT': '',                             # Set to empty string for default. Not used with sqlite3.\n    }\n}\n\nCACHES = {\n    'default': {\n    #    'BACKEND': 'django.core.cache.backends.dummy.DummyCache',\n        'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',\n    }\n}\n\n# config for feedback links\nFEEDBACK_EMAIL = \"webmaster@localhost\"\nTRACKER_URL = \"https://github.com/fsr-itse/EvaP\"\n\n# config for mail system\nDEFAULT_FROM_EMAIL = \"webmaster@localhost\"\nREPLY_TO_EMAIL = DEFAULT_FROM_EMAIL\nif DEBUG:\n    EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'\n\n# key authentication settings\nLOGIN_KEY_VALIDITY = 210 # days, so roughly 7 months\n\n# minimum answers needed for publishing\nMIN_ANSWER_COUNT = 2\nMIN_ANSWER_PERCENTAGE = 0.2\n\n# days before end date to send reminder\nREMIND_X_DAYS_AHEAD_OF_END_DATE = 2\n\n# email domains for the internal users of the hosting institution used to\n# figure out who can login with username and password and who needs a login key\nINSTITUTION_EMAIL_DOMAINS = [\"hpi.uni-potsdam.de\", \"student.hpi.uni-potsdam.de\"]\n\n# Local time zone for this installation. Choices can be found here:\n# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name\n# although not all choices may be available on all operating systems.\n# On Unix systems, a value of None will cause Django to use the same\n# timezone as the operating system.\n# If running in a Windows environment this must be set to the same as your\n# system time zone.\nTIME_ZONE = 'Europe/Berlin'\n\n# Language code for this installation. All choices can be found here:\n# http://www.i18nguy.com/unicode/language-identifiers.html\nLANGUAGE_CODE = 'en'\n\nLANGUAGES = (\n    ('en', \"English\"),\n    ('de', \"Deutsch\"),\n)\n\nSITE_ID = 1\n\n# If you set this to False, Django will make some optimizations so as not\n# to load the internationalization machinery.\nUSE_I18N = True\n\n# If you set this to False, Django will not format dates, numbers and\n# calendars according to the current locale\nUSE_L10N = True\n\n# Locale paths\nLOCALE_PATHS = (\n    os.path.join(SITE_ROOT, \"locale\"),\n)\n\n# Absolute filesystem path to the directory that will hold user-uploaded files.\n# Example: \"/home/media/media.lawrence.com/media/\"\nMEDIA_ROOT = os.path.join(SITE_ROOT, \"upload\")\n\n# URL that handles the media served from MEDIA_ROOT. Make sure to use a\n# trailing slash.\n# Examples: \"http://media.lawrence.com/media/\", \"http://example.com/media/\"\nMEDIA_URL = '/media/'\n\n# Absolute path to the directory static files should be collected to.\n# Don't put anything in this directory yourself; store your static files\n# in apps' \"static/\" subdirectories and in STATICFILES_DIRS.\n# Example: \"/home/media/media.lawrence.com/static/\"\nSTATIC_ROOT = os.path.join(SITE_ROOT, \"staticfiles\")\n\n# URL prefix for static files.\n# Example: \"http://media.lawrence.com/static/\"\nSTATIC_URL = '/static/'\n\n# URL prefix for admin static files -- CSS, JavaScript and images.\n# Make sure to use a trailing slash.\n# Examples: \"http://foo.com/static/admin/\", \"/static/admin/\".\nADMIN_MEDIA_PREFIX = '/static/admin/'\n\n# Additional locations of static files\nSTATICFILES_DIRS = (\n    # Put strings here, like \"/home/html/static\" or \"C:/www/django/static\".\n    # Always use forward slashes, even on Windows.\n    # Don't forget to use absolute paths, not relative paths.\n    os.path.join(SITE_ROOT, \"static\"),\n)\n\n# List of finder classes that know how to find static files in\n# various locations.\nSTATICFILES_FINDERS = (\n    'django.contrib.staticfiles.finders.FileSystemFinder',\n    'django.contrib.staticfiles.finders.AppDirectoriesFinder',\n#    'django.contrib.staticfiles.finders.DefaultStorageFinder',\n)\n\n# Make this unique, and don't share it with anybody.\nSECRET_KEY = 'k9-)vh3c_dtm6bpi7j(!*s_^91v0!ekjt_#o&0i$e22tnn^-vb'\n\n# List of callables that know how to import templates from various sources.\nTEMPLATE_LOADERS = (\n    'django.template.loaders.filesystem.Loader',\n    'django.template.loaders.app_directories.Loader',\n#     'django.template.loaders.eggs.Loader',\n)\n\nTEMPLATE_CONTEXT_PROCESSORS = (\n    \"django.contrib.auth.context_processors.auth\",\n    \"django.core.context_processors.debug\",\n    \"django.core.context_processors.i18n\",\n    \"django.core.context_processors.media\",\n    \"django.core.context_processors.static\",\n    \"django.core.context_processors.request\",\n    \"django.contrib.messages.context_processors.messages\",\n)\n\nMIDDLEWARE_CLASSES = (\n    'django.middleware.common.CommonMiddleware',\n    'django.contrib.sessions.middleware.SessionMiddleware',\n    'django.middleware.locale.LocaleMiddleware',\n    'django.middleware.csrf.CsrfViewMiddleware',\n    'django.contrib.auth.middleware.AuthenticationMiddleware',\n    'django.contrib.messages.middleware.MessageMiddleware',\n    'evap.evaluation.auth.RequestAuthMiddleware',\n    'evap.evaluation.403.Django403Middleware',\n)\n\nAUTHENTICATION_BACKENDS = (\n    'evap.evaluation.auth.RequestAuthUserBackend',\n    'django.contrib.auth.backends.ModelBackend',\n)\n\nLOGIN_URL = \"/\"\n\nROOT_URLCONF = 'evap.urls'\n\nTEMPLATE_DIRS = (\n    # Put strings here, like \"/home/html/django_templates\" or \"C:/www/django/templates\".\n    # Always use forward slashes, even on Windows.\n    # Don't forget to use absolute paths, not relative paths.\n    os.path.join(SITE_ROOT, \"templates\"),\n)\n\nINSTALLED_APPS = (\n    'django.contrib.auth',\n    'django.contrib.contenttypes',\n    'django.contrib.sessions',\n    'django.contrib.sites',\n    'django.contrib.messages',\n    'django.contrib.staticfiles',\n    'django.contrib.admin',\n    'south',\n    'widget_tweaks',\n    'evap.evaluation',\n    'evap.fsr',\n    'evap.results',\n    'evap.student',\n    'evap.contributor',\n)\nif not DEBUG:\n    INSTALLED_APPS += (\n        'raven.contrib.django.raven_compat',\n    )\n\nRAVEN_CONFIG = {\n    'dsn': 'http://public:secret@example.com/1',\n}\n\n# A sample logging configuration. The only tangible logging\n# performed by this configuration is to send an email to\n# the site admins on every HTTP 500 error.\n# See http://docs.djangoproject.com/en/dev/topics/logging for\n# more details on how to customize your logging configuration.\nLOGGING = {\n    'version': 1,\n    'disable_existing_loggers': False,\n    'filters': {\n         'require_debug_false': {\n             '()': 'django.utils.log.RequireDebugFalse'\n         }\n     },\n    'handlers': {\n        'sentry': {\n            'level': 'ERROR',\n            'class': 'raven.contrib.django.handlers.SentryHandler',\n        },\n        'mail_admins': {\n            'level': 'ERROR',\n            'filters': ['require_debug_false'],\n            'class': 'django.utils.log.AdminEmailHandler'\n        },\n        'console': {\n            'level': 'INFO',\n            'class': 'logging.StreamHandler'\n        }\n    },\n    'loggers': {\n        'django.request': {\n            'handlers': ['mail_admins'],\n            'level': 'ERROR',\n            'propagate': True,\n        },\n        'evap.evaluation.management.commands.import_evaj': {\n            'handlers': ['console'],\n            'level': 'INFO'\n        },\n        'raven': {\n            'level': 'DEBUG',\n            'handlers': ['console'],\n            'propagate': False,\n        },\n        'sentry.errors': {\n            'level': 'DEBUG',\n            'handlers': ['console'],\n            'propagate': False,\n        }\n    }\n}\n\n# Create a localsettings.py if you want to override settings per machine\n# or user, e.g. for development or different settings in deployments using\n# multiple servers.\n_LOCAL_SETTINGS_FILENAME = os.path.join(SITE_ROOT, \"localsettings.py\")\nif os.path.exists(_LOCAL_SETTINGS_FILENAME):\n    execfile(_LOCAL_SETTINGS_FILENAME)\ndel _LOCAL_SETTINGS_FILENAME\n", "path": "evap/settings.py"}]}