Changes between Initial Version and Version 1 of Ticket #30648


Ignore:
Timestamp:
Jul 18, 2019, 6:24:03 AM (5 years ago)
Author:
Davit Gachechiladze
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #30648 – Description

    initial v1  
    4848{{{get_success_url()}}} is just providing somewhere to redirect to, which gets used in the default implementation of {{{form_valid()}}}. We have to provide our own post() as noted earlier, and override {{{get_context_data()}}} to make the {{{Form}}} available in the context data.
    4949
    50 {{{get_context_data()}}} does not require override to capture {{{Form}}} inside context. It's done automatically by {{{FormMixin}}}.
     50Sentence above is mistake, isn't it ? Because {{{get_context_data()}}} does not require override to capture {{{Form}}} inside context. It's done automatically by {{{FormMixin}}}.
Back to Top