summaryrefslogtreecommitdiffstats
path: root/dashboard/src/pharos_dashboard
diff options
context:
space:
mode:
Diffstat (limited to 'dashboard/src/pharos_dashboard')
-rw-r--r--dashboard/src/pharos_dashboard/celery.py2
-rw-r--r--dashboard/src/pharos_dashboard/settings.py7
2 files changed, 4 insertions, 5 deletions
diff --git a/dashboard/src/pharos_dashboard/celery.py b/dashboard/src/pharos_dashboard/celery.py
index f60f243..2a44a3d 100644
--- a/dashboard/src/pharos_dashboard/celery.py
+++ b/dashboard/src/pharos_dashboard/celery.py
@@ -27,4 +27,4 @@ app.autodiscover_tasks(lambda: settings.INSTALLED_APPS)
@app.task(bind=True)
def debug_task(self):
- print('Request: {0!r}'.format(self.request)) \ No newline at end of file
+ print('Request: {0!r}'.format(self.request))
diff --git a/dashboard/src/pharos_dashboard/settings.py b/dashboard/src/pharos_dashboard/settings.py
index 91fc93e..793eec7 100644
--- a/dashboard/src/pharos_dashboard/settings.py
+++ b/dashboard/src/pharos_dashboard/settings.py
@@ -57,8 +57,7 @@ ROOT_URLCONF = 'pharos_dashboard.urls'
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
- 'DIRS': [os.path.join(BASE_DIR, 'templates')]
- ,
+ 'DIRS': [os.path.join(BASE_DIR, 'templates')],
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [
@@ -201,6 +200,6 @@ EMAIL_HOST = os.environ['EMAIL_HOST']
EMAIL_PORT = os.environ['EMAIL_PORT']
EMAIL_HOST_USER = os.environ['EMAIL_HOST_USER']
EMAIL_HOST_PASSWORD = os.environ['EMAIL_HOST_PASSWORD']
-EMAIL_USE_TLS=True
+EMAIL_USE_TLS = True
DEFAULT_EMAIL_FROM = os.environ.get('DEFAULT_EMAIL_FROM', 'webmaster@localhost')
-SESSION_ENGINE="django.contrib.sessions.backends.signed_cookies"
+SESSION_ENGINE = "django.contrib.sessions.backends.signed_cookies"