Skip to content

Commit

Permalink
Add tasks to app template
Browse files Browse the repository at this point in the history
  • Loading branch information
danyi1212 committed Apr 23, 2021
1 parent 10e6753 commit 9d9c076
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app_template/tasks.py-tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from background_task import background

from {{ app_name }} import models

# Create your background tasks here.
# https://django-background-tasks.readthedocs.io/en/latest/#creating-and-registering-tasks

0 comments on commit 9d9c076

Please sign in to comment.