From 34e9847da39f8f3507464a7d1815190e5d8d34d6 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Mon, 4 Jan 2021 09:40:23 -0800 Subject: [PATCH] Still need to remove validator arg in username field --- bookwyrm/models/fields.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bookwyrm/models/fields.py b/bookwyrm/models/fields.py index beddb2915..c6571ff4f 100644 --- a/bookwyrm/models/fields.py +++ b/bookwyrm/models/fields.py @@ -177,6 +177,7 @@ class UsernameField(ActivitypubFieldMixin, models.CharField): del kwargs['verbose_name'] del kwargs['max_length'] del kwargs['unique'] + del kwargs['validators'] del kwargs['error_messages'] return name, path, args, kwargs