Skip to content

Commit

Permalink
Merge branch 'master' into treyhunner-extra-attributes
Browse files Browse the repository at this point in the history
Conflicts:
	parsley/decorators.py
  • Loading branch information
tuxcanfly committed Sep 11, 2013
2 parents 4ac1cb4 + 7a08bf0 commit bd1ebb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parsley/decorators.py
Expand Up @@ -7,7 +7,7 @@ def parsleyfy(klass):

def new_init(self, *args, **kwargs):
old_init(self, *args, **kwargs)
for _, field in self.fields.iteritems():
for _, field in self.fields.items():
if field.required:
field.widget.attrs.update({"data-required": "true"})
if isinstance(field, forms.URLField):
Expand Down

0 comments on commit bd1ebb5

Please sign in to comment.