bookwyrm/bookwyrm/management/commands/merge_works.py
2023-04-26 15:54:37 +02:00

13 lines
317 B
Python

""" PROCEED WITH CAUTION: uses deduplication fields to permanently
merge work data objects """
from bookwyrm import models
from bookwyrm.management.merge_command import MergeCommand
class Command(MergeCommand):
"""merges two works by ID"""
help = "merges specified works into one"
MODEL = models.Work