mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2025-01-03 05:48:44 +00:00
Still need to remove validator arg in username field
This commit is contained in:
parent
74a25f205b
commit
34e9847da3
1 changed files with 1 additions and 0 deletions
|
@ -177,6 +177,7 @@ class UsernameField(ActivitypubFieldMixin, models.CharField):
|
||||||
del kwargs['verbose_name']
|
del kwargs['verbose_name']
|
||||||
del kwargs['max_length']
|
del kwargs['max_length']
|
||||||
del kwargs['unique']
|
del kwargs['unique']
|
||||||
|
del kwargs['validators']
|
||||||
del kwargs['error_messages']
|
del kwargs['error_messages']
|
||||||
return name, path, args, kwargs
|
return name, path, args, kwargs
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue