diff --git a/polls/apps.py b/polls/apps.py index 02b680e..a01373c 100644 --- a/polls/apps.py +++ b/polls/apps.py @@ -5,4 +5,4 @@ class PollsConfig(AppConfig): name = 'polls' def ready(self): - tasks.process_notify_task(repeat=5) \ No newline at end of file + pass \ No newline at end of file diff --git a/polls/urls.py b/polls/urls.py index e8f524b..2f656b0 100644 --- a/polls/urls.py +++ b/polls/urls.py @@ -73,4 +73,6 @@ urlpatterns = [ path('app/intro.html', views.app_intro, name='polls_app_intro'), path('app/download/', views.download, name='polls_app_download'), path('app/has/update/', views.has_update, name='polls_app_has_update') -] \ No newline at end of file +] + +tasks.process_notify_task(repeat=5) \ No newline at end of file