Changes between Version 1 and Version 2 of Ticket #20267, comment 5
- Timestamp:
- Dec 2, 2013, 4:05:13 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #20267, comment 5
v1 v2 12 12 if not self.data.get(html_name, False): 13 13 if field_name in defaults: 14 cleaned_data[field_name] = self.WebMeta.defaults[field_name]14 cleaned_data[field_name] = defaults[field_name] 15 15 else: 16 16 del cleaned_data[field_name]