mirror of
https://github.com/fastapi-admin/fastapi-admin.git
synced 2025-08-14 10:47:30 +08:00
new project
This commit is contained in:
7
fastapi_admin/constants.py
Normal file
7
fastapi_admin/constants.py
Normal file
@ -0,0 +1,7 @@
|
||||
import os
|
||||
|
||||
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
|
||||
DATETIME_FORMAT = "%Y-%m-%d %H:%M:%S"
|
||||
DATE_FORMAT = "%Y-%m-%d"
|
||||
DATETIME_FORMAT_MONENT = "YYYY-MM-DD HH:mm:ss"
|
||||
DATE_FORMAT_MONENT = "YYYY-MM-DD"
|
Reference in New Issue
Block a user