<reponame>EduScaled/django-healthcheck
from django.conf.urls import url
from health_check.views import MainView

from django_health_check.views import RabbitMQHealthCheckView, DBHealthCheckView, CeleryHealthCheckView, CacheHealthCheckView

urlpatterns = [
    url(r'rabbitmq', RabbitMQHealthCheckView.as_view(), name='rabbitmq_health_check'),
    url(r'db', DBHealthCheckView.as_view(), name='db_health_check'),
    url(r'celery', CeleryHealthCheckView.as_view(), name='celery_health_check'),
    url(r'cache', CacheHealthCheckView.as_view(), name='cache_health_check'),
    url(r'all', MainView.as_view(), name='health_check_home'),
]


from django.conf.urls import url
from health_check.views import MainView

from django_health_check.views import RabbitMQHealthCheckView, DBHealthCheckView, CeleryHealthCheckView, CacheHealthCheckView

urlpatterns = [
    url(r'rabbitmq', RabbitMQHealthCheckView.as_view(), name='rabbitmq_health_check'),
    url(r'db', DBHealthCheckView.as_view(), name='db_health_check'),
    url(r'celery', CeleryHealthCheckView.as_view(), name='celery_health_check'),
    url(r'cache', CacheHealthCheckView.as_view(), name='cache_health_check'),
    url(r'all', MainView.as_view(), name='health_check_home'),
]