mirror of
https://github.com/django-q2/django-q2.git
synced 2026-09-15 13:37:56 +08:00
Adds validator migration
This commit is contained in:
19
django_q/migrations/0012_auto_20200702_1608.py
Normal file
19
django_q/migrations/0012_auto_20200702_1608.py
Normal file
@@ -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