mirror of
https://github.com/etnguyen03/tjdests.git
synced 2025-04-21 02:00:16 -04:00
parent
4a17da5704
commit
82899f28eb
|
@ -12,7 +12,7 @@ https://docs.djangoproject.com/en/3.2/ref/settings/
|
|||
import logging
|
||||
import os
|
||||
from pathlib import Path
|
||||
from typing import List
|
||||
from typing import List, Optional
|
||||
|
||||
from django.contrib.messages import constants as messages
|
||||
|
||||
|
@ -163,6 +163,11 @@ MESSAGE_TAGS = {
|
|||
messages.ERROR: "danger",
|
||||
}
|
||||
|
||||
# Override the following in secret.py
|
||||
SENIOR_GRAD_YEAR: int = -1
|
||||
BRANDING_NAME: str = "UNDEFINED"
|
||||
GLOBAL_MESSAGE: Optional[str] = None
|
||||
|
||||
try:
|
||||
from .secret import * # noqa # pylint: disable=unused-import
|
||||
except ImportError:
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Deployed senior graduation year
|
||||
# e.g. if deploying in spring 2021, then 2021
|
||||
from typing import List
|
||||
|
||||
# Deployed senior graduation year
|
||||
# e.g. if deploying in spring 2021, then 2021
|
||||
SENIOR_GRAD_YEAR = 2021
|
||||
|
||||
# Branding name
|
||||
|
|
Loading…
Reference in New Issue
Block a user