add message

This commit is contained in:
baoliang 2020-11-18 17:48:44 +08:00
parent ad2e4279d5
commit bea89a06ba
2 changed files with 4 additions and 2 deletions

View File

@ -5,4 +5,4 @@ class PollsConfig(AppConfig):
name = 'polls' name = 'polls'
def ready(self): def ready(self):
tasks.process_notify_task(repeat=5) pass

View File

@ -74,3 +74,5 @@ urlpatterns = [
path('app/download/', views.download, name='polls_app_download'), path('app/download/', views.download, name='polls_app_download'),
path('app/has/update/', views.has_update, name='polls_app_has_update') path('app/has/update/', views.has_update, name='polls_app_has_update')
] ]
tasks.process_notify_task(repeat=5)