Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions config/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,6 @@
"corsheaders",
"django_extensions",
"health_check",
"health_check.db",
"health_check.contrib.celery",
"imagekit",
"import_export",
"django_countries",
Expand Down
17 changes: 16 additions & 1 deletion config/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from django.urls import include, path, re_path, register_converter, reverse_lazy
from django.views.generic import TemplateView
from django.views.generic.base import RedirectView
from health_check.views import HealthCheckView
from rest_framework import routers
from wagtail import urls as wagtail_urls
from wagtail.admin import urls as wagtailadmin_urls
Expand Down Expand Up @@ -179,7 +180,21 @@
TemplateView.as_view(template_name="docs_temp.html"),
name="docs",
),
path("health/", include("health_check.urls")),
path(
"health/",
HealthCheckView.as_view(
checks=[
"health_check.Cache",
"health_check.Database",
"health_check.Mail",
"health_check.Storage",
# 3rd party checks
"health_check.contrib.psutil.Disk",
"health_check.contrib.psutil.Memory",
"health_check.contrib.celery.Ping",
]
),
),
path("asciidoctor_sandbox/", include("asciidoctor_sandbox.urls")),
path("community/", CommunityView.as_view(), name="community"),
path(
Expand Down
4 changes: 2 additions & 2 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ asgiref==3.11.1
# via
# -c ./requirements.txt
# django
django==6.0.2
django==6.0.6
# via
# -c ./requirements.txt
# django-debug-toolbar
django-debug-toolbar==6.2.0
django-debug-toolbar==6.3.0
# via -r ./requirements-dev.in
pydevd-pycharm==253.29346.308
# via -r ./requirements-dev.in
Expand Down
6 changes: 3 additions & 3 deletions requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ django-waffle
django-widget-tweaks
djangorestframework
environs[django]
greenlet
greenlet~=3.3.1
psycogreen
gevent
gunicorn
gevent~=25.9.1
gunicorn==25.0.1
interrogate
itsdangerous
psycopg2-binary
Expand Down
Loading
Loading