fix conflicting migrations

This commit is contained in:
Michael Shamoon
2022-07-02 16:55:52 -07:00
parent 811d4973cf
commit 748f0bf610
3 changed files with 3 additions and 5 deletions

View File

@@ -649,7 +649,7 @@ class AcknowledgeTasksViewSerializer(serializers.Serializer):
count = PaperlessTask.objects.filter(id__in=tasks).count()
if not count == len(tasks):
raise serializers.ValidationError(
f"Some tasks in {name} don't exist or were " f"specified twice.",
f"Some tasks in {name} don't exist or were specified twice.",
)
def validate_tasks(self, tasks):