feat(kursy/urls.py): add django_browser_reload url path
This commit is contained in:
@@ -31,6 +31,11 @@ if settings.DEBUG:
|
|||||||
urlpatterns += staticfiles_urlpatterns()
|
urlpatterns += staticfiles_urlpatterns()
|
||||||
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
|
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
|
||||||
|
|
||||||
|
# browser reload urls
|
||||||
|
urlpatterns += [
|
||||||
|
path("__reload__/", include("django_browser_reload.urls")),
|
||||||
|
]
|
||||||
|
|
||||||
urlpatterns = urlpatterns + [
|
urlpatterns = urlpatterns + [
|
||||||
# For anything not caught by a more specific rule above, hand over to
|
# 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
|
# Wagtail's page serving mechanism. This should be the last pattern in
|
||||||
|
|||||||
Reference in New Issue
Block a user