mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-02 18:28:12 +08:00
* Black linting * Adding Black to dev dependencies and upping minimal python to 3.6.2 for compatibility * Updating packages * Removing pip-tools input and exporting requirements with poetry * Deleting old setup files and test runner * Trying 1.3.7 * Looser extras requirements to prevent conflicts * Sorted imports with isort * Added iSort to dev dependencies * Fixes localtime for naive setups
22 lines
767 B
Python
22 lines
767 B
Python
from django.db import migrations, models
|
|
|
|
|
|
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'),
|
|
),
|
|
]
|