Changes between Version 1 and Version 2 of Ticket #9104, comment 6
- Timestamp:
- Nov 21, 2013, 1:34:14 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #9104, comment 6
v1 v2 17 17 pass 18 18 else: 19 self.fields[key].widget.attrs["required"] = not mfield.blank 19 if not mfield.blank: 20 self.fields[key].widget.attrs["required"] = "required" 20 21 }}} 21 22