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'
def ready(self):
tasks.process_notify_task(repeat=5)
pass

View File

@ -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')
]
]
tasks.process_notify_task(repeat=5)