Commits

Vladimir Korsun committed 713180d

is_widget allow comma separated argument

Comments (0)

Files changed (1)

src/templatetags/field_attributes.py

     """
     Check widget class name
     """
-    return value.field.widget.__class__.__name__ == arg
+    return value.field.widget.__class__.__name__ in arg.split(',')