From 4439fd10038018ed955f972961924f80f8576bff Mon Sep 17 00:00:00 2001 From: Artur Borecki Date: Wed, 11 Mar 2026 14:47:18 +0100 Subject: [PATCH] feat(kursy/urls.py): add django_browser_reload url path --- kursy/urls.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/kursy/urls.py b/kursy/urls.py index feba999..da28576 100644 --- a/kursy/urls.py +++ b/kursy/urls.py @@ -31,6 +31,11 @@ if settings.DEBUG: urlpatterns += staticfiles_urlpatterns() urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) + # browser reload urls + urlpatterns += [ + path("__reload__/", include("django_browser_reload.urls")), + ] + urlpatterns = urlpatterns + [ # For anything not caught by a more specific rule above, hand over to # Wagtail's page serving mechanism. This should be the last pattern in