mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-10-31 22:19:00 +00:00
12 lines
317 B
Python
12 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
|