Code

Changes between Version 2 and Version 3 of DjangoSpecifications/NfAdmin/MediaAndValidation


Ignore:
Timestamp:
03/20/08 05:09:43 (6 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DjangoSpecifications/NfAdmin/MediaAndValidation

    v2 v3  
    1313 * Specifying this custom form should not disable automatic widgets 
    1414 * !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. 
    1616