deploy
This commit is contained in:
parent
ccdd9e7b8c
commit
c71638664e
@ -39,7 +39,7 @@ class UserInfo(models.Model):
|
|||||||
tasks = []
|
tasks = []
|
||||||
for task in Task.objects.all():
|
for task in Task.objects.all():
|
||||||
self._append_task(task, tasks)
|
self._append_task(task, tasks)
|
||||||
return tasks
|
return sorted(tasks, key=lambda x: x.time_estimation)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def place(self):
|
def place(self):
|
||||||
|
@ -22,7 +22,7 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
|||||||
# SECURITY WARNING: keep the secret key used in production secret!
|
# SECURITY WARNING: keep the secret key used in production secret!
|
||||||
SECRET_KEY = "-w#*mn6*fa8a=(-c0@klx&$vl%hpiy&l(u*3%0a#2)wdt##(z2"
|
SECRET_KEY = "-w#*mn6*fa8a=(-c0@klx&$vl%hpiy&l(u*3%0a#2)wdt##(z2"
|
||||||
|
|
||||||
DEPLOY = False
|
DEPLOY = True
|
||||||
|
|
||||||
# SECURITY WARNING: don't run with debug turned on in production!
|
# SECURITY WARNING: don't run with debug turned on in production!
|
||||||
DEBUG = not DEPLOY
|
DEBUG = not DEPLOY
|
||||||
|
Loading…
Reference in New Issue
Block a user