mirror of
https://github.com/deunix-educ/Fail2banMqttActionBanishment.git
synced 2026-08-24 03:11:58 +02:00
18 lines
519 B
Python
18 lines
519 B
Python
"""Settings de développement local : SQLite, DEBUG actif, hôtes ouverts."""
|
|
from .base import * # noqa: F401,F403
|
|
|
|
SECRET_KEY = 'django-insecure-dev-only-not-for-production'
|
|
DEBUG = True
|
|
ALLOWED_HOSTS = ['*']
|
|
|
|
DATABASES = {
|
|
'default': {
|
|
'ENGINE': 'django.db.backends.sqlite3',
|
|
'NAME': BASE_DIR / 'db.sqlite3',
|
|
}
|
|
}
|
|
|
|
# Pas de verrouillage gênant en dev local — fail2ban ne tourne de toute
|
|
# façon pas ici (cf. AXES_* dans base.py, pensé pour la prod derrière nginx).
|
|
AXES_ENABLED = False
|