Compare commits

...
3 Commits
Author SHA1 Message Date
Gitea 5aa8f41612 remove unused imports 2019-10-27 05:28:41 +01:00
Gitea 0463172d76 Merge branch 'master' of https://git.flavigny.de/christian/bloomhunt 2019-10-27 05:26:15 +01:00
Gitea f580f152a1 change settings for deploy 2019-10-27 05:26:05 +01:00
2 changed files with 7 additions and 11 deletions
+7 -5
View File
@@ -25,7 +25,7 @@ SECRET_KEY = '8$19!k4+%bg^r0v#04+ksm2ny(4*dp!v8dxnbbz)sj275(_(^&'
# SECURITY WARNING: don't run with debug turned on in production! # SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True DEBUG = True
ALLOWED_HOSTS = [] ALLOWED_HOSTS = ['*']
# Application definition # Application definition
@@ -76,10 +76,10 @@ WSGI_APPLICATION = 'bloomhunt.wsgi.application'
# https://docs.djangoproject.com/en/1.11/ref/settings/#databases # https://docs.djangoproject.com/en/1.11/ref/settings/#databases
DATABASES = { DATABASES = {
'default': { #'default': {
'ENGINE': 'django.db.backends.sqlite3', # 'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'), # 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
} #}
} }
@@ -124,3 +124,5 @@ STATIC_URL = '/static/'
STATICFILES_DIRS = [ STATICFILES_DIRS = [
os.path.join(BASE_DIR, "static"), os.path.join(BASE_DIR, "static"),
] ]
STATIC_ROOT = "/var/www/virtual/areion/html/bloomhunt/static/"
-6
View File
@@ -5,12 +5,6 @@ from datetime import datetime
import json import json
import os import os
import pandas as pd
import matplotlib.pyplot as plt
import numpy as np
import seaborn as sns
import re as re
def index(request): def index(request):