Changes between Initial Version and Version 1 of Ticket #30648
- Timestamp:
- Jul 18, 2019, 6:24:03 AM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #30648 – Description
initial v1 48 48 {{{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. 49 49 50 {{{get_context_data()}}} does not require override to capture {{{Form}}} inside context. It's done automatically by {{{FormMixin}}}.50 Sentence 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}}}.