mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-05 05:18:12 +08:00
Refactoring to make testing more stable
This commit is contained in:
@@ -14,7 +14,7 @@ class Migration(migrations.Migration):
|
||||
migrations.CreateModel(
|
||||
name='Task',
|
||||
fields=[
|
||||
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
|
||||
('id', models.AutoField(auto_created=True, primary_key=True, verbose_name='ID', serialize=False)),
|
||||
('name', models.CharField(max_length=100)),
|
||||
('func', models.CharField(max_length=256)),
|
||||
('hook', models.CharField(max_length=256, null=True)),
|
||||
@@ -31,8 +31,8 @@ class Migration(migrations.Migration):
|
||||
fields=[
|
||||
],
|
||||
options={
|
||||
'verbose_name': 'Failed task',
|
||||
'proxy': True,
|
||||
'verbose_name': 'Failed task',
|
||||
},
|
||||
bases=('django_q.task',),
|
||||
),
|
||||
@@ -41,8 +41,8 @@ class Migration(migrations.Migration):
|
||||
fields=[
|
||||
],
|
||||
options={
|
||||
'verbose_name': 'Successful task',
|
||||
'proxy': True,
|
||||
'verbose_name': 'Successful task',
|
||||
},
|
||||
bases=('django_q.task',),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user