deploy
This commit is contained in:
parent
ccdd9e7b8c
commit
c71638664e
@ -39,7 +39,7 @@ class UserInfo(models.Model):
|
||||
tasks = []
|
||||
for task in Task.objects.all():
|
||||
self._append_task(task, tasks)
|
||||
return tasks
|
||||
return sorted(tasks, key=lambda x: x.time_estimation)
|
||||
|
||||
@property
|
||||
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!
|
||||
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!
|
||||
DEBUG = not DEPLOY
|
||||
|
Loading…
Reference in New Issue
Block a user