Modified files
pyproject.toml
---
+++
@@ -14,6 +14,7 @@
[tool.poetry.group.dev.dependencies]
django-debug-toolbar = "^4.4.6"
+django-browser-reload = "^1.15.0"
[build-system]
requires = ["poetry-core"]
djangocourse/settings.py
---
+++
@@ -49,7 +49,8 @@
"allauth",
"allauth.account",
"allauth.socialaccount",
- "allauth.socialaccount.providers.github"
+ "allauth.socialaccount.providers.github",
+ "django_browser_reload",
]
PROJECT_APPS = [
@@ -67,6 +68,7 @@
"django.contrib.messages.middleware.MessageMiddleware",
"django.middleware.clickjacking.XFrameOptionsMiddleware",
"allauth.account.middleware.AccountMiddleware",
+ "django_browser_reload.middleware.BrowserReloadMiddleware",
]
if DEBUG:
djangocourse/urls.py
---
+++
@@ -25,4 +25,5 @@
path("accounts/", include("allauth.urls")),
path("", RedirectView.as_view(pattern_name="home")),
path("__debug__/", include("debug_toolbar.urls")),
+ path("__reload__/", include("django_browser_reload.urls")),
]