mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-01 23:08:11 +08:00
25 lines
832 B
Python
25 lines
832 B
Python
# -*- coding: utf-8 -*-
|
|
from __future__ import unicode_literals
|
|
|
|
from django.db import models, migrations
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('django_q', '0005_auto_20150718_1506'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='schedule',
|
|
name='minutes',
|
|
field=models.PositiveSmallIntegerField(help_text='Number of minutes for the Minutes type', blank=True, null=True),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='schedule',
|
|
name='schedule_type',
|
|
field=models.CharField(max_length=1, choices=[('O', 'Once'), ('I', 'Minutes'), ('H', 'Hourly'), ('D', 'Daily'), ('W', 'Weekly'), ('M', 'Monthly'), ('Q', 'Quarterly'), ('Y', 'Yearly')], default='O', verbose_name='Schedule Type'),
|
|
),
|
|
]
|