kumify/cronhandler/views.py

9 lines
238 B
Python
Raw Normal View History

from django.views.generic import View
from django.http import HttpResponse
from .signals import cron
class CronHandlerView(View):
def get(self, *args, **kwargs):
2020-12-30 17:38:37 +00:00
cron.send_robust(self.__class__)
return HttpResponse()