kumify/cronhandler/views.py
2020-12-30 18:38:37 +01:00

9 lines
238 B
Python

from django.views.generic import View
from django.http import HttpResponse
from .signals import cron
class CronHandlerView(View):
def get(self, *args, **kwargs):
cron.send_robust(self.__class__)
return HttpResponse()