Use Bootstrap
This commit is contained in:
@ -2,11 +2,13 @@ import os
|
||||
from pathlib import Path
|
||||
|
||||
import sentry_sdk
|
||||
from django.contrib import messages
|
||||
from dotenv import find_dotenv, load_dotenv
|
||||
from platformdirs import user_data_dir
|
||||
|
||||
load_dotenv(dotenv_path=find_dotenv(), verbose=True)
|
||||
|
||||
|
||||
DATA_DIR = Path(
|
||||
user_data_dir(
|
||||
appname="TTVDrops",
|
||||
@ -181,3 +183,12 @@ SOCIALACCOUNT_PROVIDERS = {
|
||||
"AUTH_PARAMS": {"force_verify": True},
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
MESSAGE_TAGS: dict[int, str] = {
|
||||
messages.DEBUG: "alert-info",
|
||||
messages.INFO: "alert-info",
|
||||
messages.SUCCESS: "alert-success",
|
||||
messages.WARNING: "alert-warning",
|
||||
messages.ERROR: "alert-danger",
|
||||
}
|
||||
|
Reference in New Issue
Block a user