Add optional Django sync backend skeleton with token-based API

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
denis
2026-10-14 22:24:39 +02:00
parent dfae68db87
commit f70ea5d497
21 changed files with 329 additions and 2 deletions
+15
View File
@@ -0,0 +1,15 @@
"""Réglages de développement : SQLite locale, DEBUG actif, clé non secrète."""
from .base import * # noqa: F401,F403
from .base import BASE_DIR
DEBUG = True
SECRET_KEY = "dev-only-not-a-secret" # noqa: S105 - jamais utilisée en production
ALLOWED_HOSTS = ["127.0.0.1", "localhost"]
DATABASES = {
"default": {
"ENGINE": "django.db.backends.sqlite3",
"NAME": BASE_DIR / "db.sqlite3",
}
}