feat: implement Fil-A-Management Django MVP
This commit is contained in:
commit
1127e7ecf4
66 files changed
+3774
No files matched your search
@@ -0,0 +1,14 @@
|
||||
import os
|
||||
import secrets
|
||||
import tempfile
|
||||
|
||||
os.environ.setdefault("DJANGO_SECRET_KEY", secrets.token_urlsafe(64))
|
||||
os.environ.setdefault("FAM_DATA_DIR", tempfile.mkdtemp(prefix="fam-tests-"))
|
||||
from .settings import * # noqa: F403, E402
|
||||
|
||||
ALLOWED_HOSTS = ["testserver", "localhost", "127.0.0.1"]
|
||||
SESSION_COOKIE_SECURE = False
|
||||
CSRF_COOKIE_SECURE = False
|
||||
PASSWORD_HASHERS = ["django.contrib.auth.hashers.MD5PasswordHasher"]
|
||||
STORAGES = {"staticfiles": {"BACKEND": "django.contrib.staticfiles.storage.StaticFilesStorage"}}
|
||||
WHITENOISE_AUTOREFRESH = True
|
||||
Reference in new issue
Block a user