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

Allow passing field name as first positional argument #236

Closed
wants to merge 1 commit into from
Closed

Allow passing field name as first positional argument #236

wants to merge 1 commit into from

Conversation

emesik
Copy link
Contributor

@emesik emesik commented May 25, 2016

The convention for Django model fields is to pass field's verbose name as the first positional argument. However, the signature of localflavor.generic.models.IBANField.init is incompatible with that.

This fix makes the field follow the convention.

@benkonrath
Copy link
Member

Thanks for your contribution. I fixed the failing test and committed this change via 15b4b95.

@benkonrath benkonrath closed this Jul 3, 2016
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