.
This commit is contained in:
@@ -0,0 +1,19 @@
|
|||||||
|
# Generated by Django 3.2.5 on 2021-08-11 17:16
|
||||||
|
|
||||||
|
from django.db import migrations
|
||||||
|
import sortedm2m.fields
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('longs', '0040_auto_20210801_0947'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='long',
|
||||||
|
name='sorted_series',
|
||||||
|
field=sortedm2m.fields.SortedManyToManyField(help_text=None, related_name='long_sorted', to='longs.LongSeries'),
|
||||||
|
),
|
||||||
|
]
|
||||||
+1
-1
@@ -130,7 +130,7 @@ class Long(models.Model):
|
|||||||
question_json_id = models.IntegerField(default=1, help_text="Auto incrementing json creation number")
|
question_json_id = models.IntegerField(default=1, help_text="Auto incrementing json creation number")
|
||||||
|
|
||||||
|
|
||||||
sorted_series = SortedManyToManyField("LongSeries")
|
sorted_series = SortedManyToManyField("LongSeries", related_name="long_sorted")
|
||||||
|
|
||||||
#question_file = models.FileField(upload_to=question_file_directory_path, blank=True, null=True)
|
#question_file = models.FileField(upload_to=question_file_directory_path, blank=True, null=True)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user