Fix argument pass to task

This commit is contained in:
jar3b
2018-12-05 16:54:46 +03:00
parent 3b42bb9af3
commit b50d6c06ea
2 changed files with 3 additions and 3 deletions

View File

@@ -3,6 +3,6 @@ from .settings import EMAIL_BACKEND
@app.task()
def send_message():
def send_message(email):
logger.info(EMAIL_BACKEND)
logger.info('sent')
logger.info(email)