[feat] add config.py

This commit is contained in:
SouthFox 2023-07-06 23:49:39 +08:00
parent 703843dfcd
commit a5d7d4bdf8
2 changed files with 7 additions and 0 deletions

2
.gitignore vendored
View file

@ -7,3 +7,5 @@ tmp/
*.egg *.egg
build build
htmlcov htmlcov
config.py

5
demo/config.py.simple Normal file
View file

@ -0,0 +1,5 @@
USERNAME = "foo"
DOMAIN = "localhost"
SCHEME = "http"
ID = f"{SCHEME}://{DOMAIN}/user/{USERNAME}"
BASE_URL = f"{SCHEME}://{DOMAIN}/