Changes between Version 2 and Version 3 of DjangoSpecifications/NfAdmin/MediaAndValidation
- Timestamp:
- Mar 20, 2008, 7:09:43 AM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DjangoSpecifications/NfAdmin/MediaAndValidation
v2 v3 13 13 * Specifying this custom form should not disable automatic widgets 14 14 * !JavaScript, CSS and whatnot should be merged from the inner Media class if it is present in the custom form: `class FooAdminForm(forms.BaseForm): media = forms.Media(js = ['/site_media/js/tiny_mce/tiny_mce.js'])` 15 * Custom validation should be possible with the ordinary `clean_field()` and `clean()` overrides in the custom form .15 * Custom validation should be possible with the ordinary `clean_field()` and `clean()` overrides in the custom form and should not interfere with base field validation. 16 16