Ticket #9150: generic-views.txt.diff

File generic-views.txt.diff, 980 bytes (added by Thomas Bechtold, 15 years ago)

Update Documentation for generic views and add form_params as parameter

  • docs/ref/generic-views.txt

     
    876876
    877877**Optional arguments:**
    878878
     879    * ``form_params``: A dictonary to pass arguements to the constructor of the
     880      used form set by ``form_class``. By default, this is an empty dicionary.
     881
    879882    * ``post_save_redirect``: A URL to which the view will redirect after
    880883      saving the object. By default, it's ``object.get_absolute_url()``.
    881884
     
    960963      model. By default, ``slug_field`` is ``'slug'``.
    961964
    962965**Optional arguments:**
     966   
     967    * ``form_params``: A dictonary to pass arguements to the constructor of the
     968      used form set by ``form_class``. By default, this is an empty dicionary.
    963969
    964970    * ``post_save_redirect``: A URL to which the view will redirect after
    965971      saving the object. By default, it's ``object.get_absolute_url()``.
Back to Top