Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed unused *args from fields that use forms.RegexField #405

Merged
merged 1 commit into from
Feb 16, 2020

Conversation

benkonrath
Copy link
Member

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.

@benkonrath benkonrath force-pushed the remove-args-regexfield branch from ada8b85 to f71e394 Compare February 16, 2020 20:09
Copy link
Member

@claudep claudep left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@benkonrath benkonrath merged commit 3d879fe into django:master Feb 16, 2020
@benkonrath benkonrath deleted the remove-args-regexfield branch February 16, 2020 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants