Editable non-cached monitorization path for Django
To install django_uptime
simply run:
pip install django-uptime
We need to hook django-uptime
into our project.
- Put
django_uptime
into yourINSTALLED_APPS
at settings module:
INSTALLED_APPS = (
# other apps
"django_uptime",
)
- Include the desired url path into your projects main
urls.py
file:
from django.urls import include, path
urlpatterns = [
...
path('ok/', include('django_uptime.urls')),
...
]