-
-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
constants file created and more detailed debug messages added
- Loading branch information
1 parent
dbe060e
commit f84e8c9
Showing
5 changed files
with
60 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
tailwindUI = False | ||
from constants import TAILWIND_UI | ||
|
||
|
||
match tailwindUI: | ||
match TAILWIND_UI: | ||
case True: | ||
templateFolder = "templates/tailwindUI" | ||
staticFolder = "static/tailwindUI" | ||
TEMPLATE_FOLDER = "templates/tailwindUI" | ||
STATIC_FOLDER = "static/tailwindUI" | ||
case False: | ||
templateFolder = "templates/standardUI" | ||
staticFolder = "static/standardUI" | ||
TEMPLATE_FOLDER = "templates/standardUI" | ||
STATIC_FOLDER = "static/standardUI" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
from helpers import secrets, socket | ||
|
||
APP_HOST = socket.gethostbyname(socket.gethostname()) | ||
DEBUG_MODE = True | ||
TAILWIND_UI = False | ||
REGISTRATION = True | ||
LOG_FILE_ROOT = "log.log" | ||
APP_SECRET_KEY = secrets.token_urlsafe(32) | ||
SESSION_PERMANENT = True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters