Modèles de commentaires et de notifications #18

Merged
lstephan merged 21 commits from Aufinal/communication_models into master 2017-07-21 16:58:51 +02:00
3 changed files with 25 additions and 2 deletions
Showing only changes of commit 3439abe922 - Show all commits

2
.gitignore vendored
View file

@ -3,5 +3,5 @@ __pycache__
venv
evenementiel/settings.py
.*.swp
*.pyc
*.sqlite3

View file

@ -0,0 +1,23 @@
"""
Django development settings for GestionÉvénementiel
The settings that are not listed here are imported from .common
"""
import os
from .dev import * # NOQA
# SQLite
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
}
}
CHANNEL_LAYERS = {
"default": {
"BACKEND": "asgiref.inmemory.ChannelLayer",
"ROUTING": "evenementiel.routing.channel_routing",
},
}

View file

@ -3,7 +3,7 @@ import os
import sys
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "evenementiel.settings")
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "evenementiel.settings.devlocal")
from django.core.management import execute_from_command_line