mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-07 07:58:12 +08:00
Adds validator migration
This commit is contained in:
@@ -0,0 +1,19 @@
|
|||||||
|
# Generated by Django 3.0.8 on 2020-07-02 16:08
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
import django_q.models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('django_q', '0011_auto_20200628_1055'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='schedule',
|
||||||
|
name='cron',
|
||||||
|
field=models.CharField(blank=True, help_text='Cron expression', max_length=100, null=True, validators=[django_q.models.validate_cron]),
|
||||||
|
),
|
||||||
|
]
|
||||||
Reference in New Issue
Block a user