Commits

Vladimir Korsun committed 713180d

is_widget allow comma separated argument

  • Participants
  • Parent commits a22d627

Comments (0)

Files changed (1)

File 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(',')