test for csrf

This commit is contained in:
2025-06-15 10:42:28 +08:00
parent c655ba6991
commit d4409ab595
5 changed files with 134 additions and 118 deletions

View File

@@ -21,4 +21,6 @@ DEBUG = True
ALLOWED_HOSTS = ["*"]
CSRF_TRUSTED_ORIGINS = ["http://localhost:5173"]
DATA_DIR = f"{BASE_DIR}/data"