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

Extra attributes problem, fixes #202 #215

Merged
merged 1 commit into from
Apr 3, 2016

Conversation

vladimirnani
Copy link
Contributor

Problem was that attributes were not passed to formfield validators, only to field validators.

from localflavor.generic.models import IBANField


class Partner(models.Model):
Copy link
Member

Choose a reason for hiding this comment

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

Can you rename this to something like UseNordeaExtentions to match IncludedCountriesModel? Same applies to the form.

@benkonrath
Copy link
Member

This looks good. Can you rename the classes that I indicated and then rebase / squash your commits into one? Thanks.

@vladimirnani vladimirnani force-pushed the extra_fields_problem branch 4 times, most recently from 9d9bafc to 77b3e25 Compare April 3, 2016 08:50
@vladimirnani vladimirnani force-pushed the extra_fields_problem branch from 77b3e25 to b325234 Compare April 3, 2016 09:00
@benkonrath benkonrath merged commit b325234 into django:master Apr 3, 2016
@benkonrath
Copy link
Member

@vladimirnani Thanks!

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