You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm wondering: It doesn't seem to be not easy to create unique schedule tasks...
It seems there is no out-of-the-box way for a create or update schedule task
django_q.tasks.schedule contains this:
# check for name duplicates instead of am unique constraint
if name and Schedule.objects.filter(name=name).exists():
raise IntegrityError("A schedule with the same name already exists.")
Firstly: Why is django_q.models.Schedule.name not set as unique?
I'm wondering: It doesn't seem to be not easy to create unique schedule tasks...
It seems there is no out-of-the-box way for a create or update schedule task
django_q.tasks.schedule contains this:
Firstly: Why is django_q.models.Schedule.name not set as unique?
So basically I have to do a work-a-round like:
Did I miss anything?
EDIT: It's related to #150 or?
The text was updated successfully, but these errors were encountered: