test(daphne): some stuff to test websocket things

This commit is contained in:
catvayor 2025-02-25 17:04:24 +01:00
parent e1bd6bc6ad
commit 47cf999359
Signed by: lbailly
GPG key ID: CE3E645251AC63F3
5 changed files with 6 additions and 0 deletions

View file

@ -0,0 +1 @@
toto

View file

@ -0,0 +1 @@
sympa

1
.gitignore vendored
View file

@ -21,3 +21,4 @@ media/
# VSCode # VSCode
.vscode/ .vscode/
.direnv .direnv
.static

View file

@ -57,6 +57,7 @@ if settings.DEBUG:
# Si on est en production, MEDIA_ROOT est servi par Apache. # Si on est en production, MEDIA_ROOT est servi par Apache.
# Il faut dire à Django de servir MEDIA_ROOT lui-même en développement. # Il faut dire à Django de servir MEDIA_ROOT lui-même en développement.
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
# Wagtail URLs (wagtail urls must be last, as catch-all) # Wagtail URLs (wagtail urls must be last, as catch-all)

View file

@ -72,6 +72,8 @@ pkgs.mkShell {
black black
flake8 flake8
isort isort
daphne
] ]
)) ))
pkgs.npins pkgs.npins