Skip to content

Commit

Permalink
Rename task to tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugene MechanisM committed Nov 10, 2016
1 parent 1e99af0 commit 6dee420
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion django_uwsgi/management/commands/runuwsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def handle(self, *args, **options):
# run spooler for mail task
if 'django_uwsgi' in settings.EMAIL_BACKEND:
os.environ['UWSGI_SPOOLER'] = '/tmp'
os.environ['UWSGI_SPOOLER_IMPORT'] = 'django_uwsgi.task'
os.environ['UWSGI_SPOOLER_IMPORT'] = 'django_uwsgi.tasks'
# exec the uwsgi binary
if apps.ready:
os.execvp('uwsgi', ('uwsgi',))
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion docs/email.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Example ini:
plugin = spooler
spooler = /tmp
spooler-import = django_uwsgi.task
spooler-import = django_uwsgi.tasks
or use built in management command `runuwsgi`
Expand Down

0 comments on commit 6dee420

Please sign in to comment.