Co-authored-by: Skia <florent.jacquet@eshard.com>
This commit is contained in:
Skia
2023-03-02 15:11:23 +01:00
committed by GitHub
parent 73305c0b28
commit b7f20fed6c
33 changed files with 2030 additions and 750 deletions

View File

@ -97,6 +97,7 @@ INSTALLED_APPS = (
"trombi",
"matmat",
"pedagogy",
"galaxy",
)
MIDDLEWARE = (
@ -210,6 +211,29 @@ DATABASES = {
}
}
# Logging
LOGGING = {
"version": 1,
"disable_existing_loggers": False,
"formatters": {
"simple": {"format": "%(levelname)s %(message)s"},
},
"handlers": {
"log_to_stdout": {
"level": "DEBUG",
"class": "logging.StreamHandler",
"formatter": "simple",
},
},
"loggers": {
"main": {
"handlers": ["log_to_stdout"],
"level": "INFO",
"propagate": True,
}
},
}
# Internationalization
# https://docs.djangoproject.com/en/1.8/topics/i18n/
@ -691,4 +715,8 @@ SITH_FRONT_DEP_VERSIONS = {
"https://github.com/jhuckaby/webcamjs/": "1.0.0",
"https://github.com/vuejs/vue-next": "3.2.18",
"https://github.com/alpinejs/alpine": "3.10.5",
"https://github.com/mrdoob/three.js/": "r148",
"https://github.com/vasturiano/three-spritetext": "1.6.5",
"https://github.com/vasturiano/3d-force-graph/": "1.70.19",
"https://github.com/vasturiano/d3-force-3d": "3.0.3",
}

View File

@ -76,6 +76,7 @@ urlpatterns = [
path("api/v1/", include(("api.urls", "api"), namespace="api")),
path("election/", include(("election.urls", "election"), namespace="election")),
path("forum/", include(("forum.urls", "forum"), namespace="forum")),
path("galaxy/", include(("galaxy.urls", "galaxy"), namespace="galaxy")),
path("trombi/", include(("trombi.urls", "trombi"), namespace="trombi")),
path("matmatronch/", include(("matmat.urls", "matmat"), namespace="matmat")),
path("pedagogy/", include(("pedagogy.urls", "pedagogy"), namespace="pedagogy")),