django-crontask 2.0.0__tar.gz → 2.0.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {django_crontask-2.0.0 → django_crontask-2.0.1}/PKG-INFO +9 -1
- {django_crontask-2.0.0 → django_crontask-2.0.1}/README.md +8 -0
- {django_crontask-2.0.0 → django_crontask-2.0.1}/crontask/_version.py +3 -3
- {django_crontask-2.0.0 → django_crontask-2.0.1}/crontask/management/commands/crontask.py +3 -1
- {django_crontask-2.0.0 → django_crontask-2.0.1}/LICENSE +0 -0
- {django_crontask-2.0.0 → django_crontask-2.0.1}/crontask/__init__.py +0 -0
- {django_crontask-2.0.0 → django_crontask-2.0.1}/crontask/conf.py +0 -0
- {django_crontask-2.0.0 → django_crontask-2.0.1}/crontask/contrib/__init__.py +0 -0
- {django_crontask-2.0.0 → django_crontask-2.0.1}/crontask/contrib/sentry.py +0 -0
- {django_crontask-2.0.0 → django_crontask-2.0.1}/crontask/management/__init__.py +0 -0
- {django_crontask-2.0.0 → django_crontask-2.0.1}/crontask/management/commands/__init__.py +0 -0
- {django_crontask-2.0.0 → django_crontask-2.0.1}/crontask/tasks.py +0 -0
- {django_crontask-2.0.0 → django_crontask-2.0.1}/crontask/utils.py +0 -0
- {django_crontask-2.0.0 → django_crontask-2.0.1}/pyproject.toml +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: django-crontask
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.1
|
|
4
4
|
Summary: Cron style scheduler for Django's task framework.
|
|
5
5
|
Keywords: Django,cron,tasks,scheduler
|
|
6
6
|
Author-email: Rust Saiargaliev <fly.amureki@gmail.com>, Johannes Maron <johannes@maron.family>, Mostafa Mohamed <mostafa.anm91@gmail.com>, Jacqueline Kraus <jacquelinekraus1992@gmail.com>
|
|
@@ -60,8 +60,15 @@ Provides-Extra: sentry
|
|
|
60
60
|
[](https://codecov.io/gh/codingjoe/django-crontask)
|
|
61
61
|
[](https://raw.githubusercontent.com/codingjoe/django-crontask/master/LICENSE)
|
|
62
62
|
|
|
63
|
+
## Sponsors
|
|
64
|
+
|
|
65
|
+
[](https://github.com/sponsors/codingjoe)
|
|
66
|
+
|
|
63
67
|
## Setup
|
|
64
68
|
|
|
69
|
+
> [!NOTE]
|
|
70
|
+
> Still need a reliable task backend? Check out [Threadmill]!
|
|
71
|
+
|
|
65
72
|
You need to have [Django's Task framework][django-tasks] setup properly.
|
|
66
73
|
|
|
67
74
|
```ShellSession
|
|
@@ -180,4 +187,5 @@ options:
|
|
|
180
187
|
[apscheduler]: https://apscheduler.readthedocs.io/en/stable/
|
|
181
188
|
[django-tasks]: https://docs.djangoproject.com/en/6.0/topics/tasks/
|
|
182
189
|
[sentry]: https://docs.sentry.io/product/crons/
|
|
190
|
+
[threadmill]: https://github.com/codingjoe/threadmill
|
|
183
191
|
|
|
@@ -18,8 +18,15 @@
|
|
|
18
18
|
[](https://codecov.io/gh/codingjoe/django-crontask)
|
|
19
19
|
[](https://raw.githubusercontent.com/codingjoe/django-crontask/master/LICENSE)
|
|
20
20
|
|
|
21
|
+
## Sponsors
|
|
22
|
+
|
|
23
|
+
[](https://github.com/sponsors/codingjoe)
|
|
24
|
+
|
|
21
25
|
## Setup
|
|
22
26
|
|
|
27
|
+
> [!NOTE]
|
|
28
|
+
> Still need a reliable task backend? Check out [Threadmill]!
|
|
29
|
+
|
|
23
30
|
You need to have [Django's Task framework][django-tasks] setup properly.
|
|
24
31
|
|
|
25
32
|
```ShellSession
|
|
@@ -138,3 +145,4 @@ options:
|
|
|
138
145
|
[apscheduler]: https://apscheduler.readthedocs.io/en/stable/
|
|
139
146
|
[django-tasks]: https://docs.djangoproject.com/en/6.0/topics/tasks/
|
|
140
147
|
[sentry]: https://docs.sentry.io/product/crons/
|
|
148
|
+
[threadmill]: https://github.com/codingjoe/threadmill
|
|
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
|
|
|
18
18
|
commit_id: str | None
|
|
19
19
|
__commit_id__: str | None
|
|
20
20
|
|
|
21
|
-
__version__ = version = '2.0.
|
|
22
|
-
__version_tuple__ = version_tuple = (2, 0,
|
|
21
|
+
__version__ = version = '2.0.1'
|
|
22
|
+
__version_tuple__ = version_tuple = (2, 0, 1)
|
|
23
23
|
|
|
24
|
-
__commit_id__ = commit_id = '
|
|
24
|
+
__commit_id__ = commit_id = 'gdd8eb0ca2'
|
|
@@ -5,6 +5,7 @@ import sys
|
|
|
5
5
|
from apscheduler.triggers.interval import IntervalTrigger
|
|
6
6
|
from django.apps import apps
|
|
7
7
|
from django.core.management import BaseCommand
|
|
8
|
+
from django.utils.module_loading import module_has_submodule
|
|
8
9
|
|
|
9
10
|
from ... import conf, utils
|
|
10
11
|
|
|
@@ -102,4 +103,5 @@ class Command(BaseCommand):
|
|
|
102
103
|
f"Loaded tasks from {self.style.NOTICE(app.name)}."
|
|
103
104
|
)
|
|
104
105
|
except ImportError:
|
|
105
|
-
|
|
106
|
+
if module_has_submodule(app.module, "tasks"):
|
|
107
|
+
raise
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|