'Jobs scheduling in Django
I want to create Jobs scheduling. I used this command : python manage.py create_jobs app_name but I get : Unknown command: 'create_jobs'
Solution 1:[1]
Django has no create_jobs command. A package named django-extensions [readthedocs] has such command.
You can install it by installing django-extensions in your virtual environment, for example with:
pip3 install django-extensions
and in the INSTALLED_APPS setting [Django-doc] of the settings.py file, add 'django_extensions':
INSTALLED_APPS = [
# …
'django_extensions',
# …
]
Then you can indeed use the create_jobs command.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 |
