Using positional arguments with fields that inherit from Django's forms.RegexField previously only worked with Django 1.11 but were ignored with Django >= 2.0. This PR removes positional arguments from all fields that inherit from Django's forms.RegexField. Any options needed on the parent forms.RegexField, forms.CharField or forms.Field must now be set with keyword arguments.
Using positional arguments with fields that inherit from Django's
forms.RegexField
previously only worked with Django 1.11 but were ignored with Django >= 2.0. This PR removes positional arguments from all fields that inherit from Django'sforms.RegexField
. Any options needed on the parentforms.RegexField
,forms.CharField
orforms.Field
must now be set with keyword arguments.