mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-06-08 08:19:30 +00:00
13 lines
325 B
Python
13 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
|