mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-09-27 14:00:21 +00:00
12 lines
325 B
Python
12 lines
325 B
Python
""" PROCEED WITH CAUTION: uses deduplication fields to permanently
|
|
merge author data objects """
|
|
from bookwyrm import models
|
|
from bookwyrm.management.merge_command import MergeCommand
|
|
|
|
|
|
class Command(MergeCommand):
|
|
"""merges two authors by ID"""
|
|
|
|
help = "merges specified authors into one"
|
|
|
|
MODEL = models.Author
|