don't use author name as deduplication field

This commit is contained in:
Hugh Rundle 2021-11-22 08:47:12 +11:00
parent 1e6e4b0f8d
commit e2836d468d
No known key found for this signature in database
GPG key ID: CD23D6039184286B

View file

@ -27,7 +27,7 @@ class Author(BookDataModel):
# idk probably other keys would be useful here?
born = fields.DateTimeField(blank=True, null=True)
died = fields.DateTimeField(blank=True, null=True)
name = fields.CharField(max_length=255, deduplication_field=True)
name = fields.CharField(max_length=255)
aliases = fields.ArrayField(
models.CharField(max_length=255), blank=True, default=list
)