Django

Code

Show
Ignore:
Timestamp:
03/17/08 19:50:15 (8 months ago)
Author:
jkocherhans
Message:

Added a warning to the get_form hook docstring.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/branches/newforms-admin/django/contrib/admin/options.py

    r7275 r7278  
    309309        Returns a Form class for use in the admin add view. This is used by 
    310310        add_view and change_view. 
     311         
     312        Note that if you override this method, your form will *not* 
     313        automatically get the custom admin widgets. raw_id_fields, fields, 
     314        fieldsets, filter_vertical, and filter_horizonal will not apply to 
     315        your form. You will have manually specify those widgets. 
    311316        """ 
    312317        if self.declared_fieldsets: