mirror of
https://github.com/umap-project/umap.git
synced 2025-04-28 19:42:36 +02:00
WIP
This commit is contained in:
parent
c1fe86747b
commit
2daeaf12e0
2 changed files with 7 additions and 0 deletions
|
@ -32,6 +32,7 @@ dependencies = [
|
||||||
"django-agnocomplete==2.2.0",
|
"django-agnocomplete==2.2.0",
|
||||||
"django-environ==0.11.2",
|
"django-environ==0.11.2",
|
||||||
"django-probes==1.7.0",
|
"django-probes==1.7.0",
|
||||||
|
"django-sesame==3.2.2",
|
||||||
"Pillow==10.3.0",
|
"Pillow==10.3.0",
|
||||||
"psycopg==3.1.19",
|
"psycopg==3.1.19",
|
||||||
"requests==2.32.3",
|
"requests==2.32.3",
|
||||||
|
@ -39,6 +40,7 @@ dependencies = [
|
||||||
"rjsmin==1.2.2",
|
"rjsmin==1.2.2",
|
||||||
"social-auth-core==4.5.4",
|
"social-auth-core==4.5.4",
|
||||||
"social-auth-app-django==5.4.1",
|
"social-auth-app-django==5.4.1",
|
||||||
|
"websockets==12.0",
|
||||||
]
|
]
|
||||||
|
|
||||||
[project.optional-dependencies]
|
[project.optional-dependencies]
|
||||||
|
|
|
@ -289,6 +289,11 @@ if SOCIAL_AUTH_OPENSTREETMAP_OAUTH2_KEY and SOCIAL_AUTH_OPENSTREETMAP_OAUTH2_SEC
|
||||||
|
|
||||||
AUTHENTICATION_BACKENDS += ("django.contrib.auth.backends.ModelBackend",)
|
AUTHENTICATION_BACKENDS += ("django.contrib.auth.backends.ModelBackend",)
|
||||||
|
|
||||||
|
# Websockets configuration
|
||||||
|
AUTHENTICATION_BACKENDS += ("sesame.backends.ModelBackend",)
|
||||||
|
|
||||||
|
SESAME_MAX_AGE = 30
|
||||||
|
|
||||||
LOGGING = {
|
LOGGING = {
|
||||||
"version": 1,
|
"version": 1,
|
||||||
"disable_existing_loggers": False,
|
"disable_existing_loggers": False,
|
||||||
|
|
Loading…
Reference in a new issue