1. Vladimir Korsun
  2. django-field-attributes

Commits

Vladimir Korsun  committed 223997b

Version bump.

  • Participants
  • Parent commits c38ff0a
  • Branches default
  • Tags 1.2.2

Comments (0)

Files changed (2)

File setup.py

View file
  • Ignore whitespace
 
 setup(
     name='django-field-attributes',
-    version='1.2.1',
+    version='1.2.2',
     packages=['django-field-attributes',
               'django-field-attributes.templatetags'],
     url='http://bitbucket.org/amigo/django-field-attributes',

File src/templatetags/field_attributes.py

View file
  • Ignore whitespace
 
     if kwargs.pop('required') in [True, 'True', 'required']:
         kwargs['required'] = 'required'
-    
+
     field.field.widget.attrs.update(kwargs)
     return {'field': field}