Neident akce pohledy
Definice pohledů.
- class neidentakce.views.NeidentAkceEditView(**kwargs)
Třída pohledu pro editaci neident akce pomocí modalu.
- model
alias of
NeidentAkce
- form_class
alias of
NeidentAkceForm
- get_context_data(**kwargs)
Insert the form into the context dict.
- get_success_url()
Return the URL to redirect to after processing a valid form.
- post(request, *args, **kwargs)
Handle POST requests: instantiate a form instance with the passed POST variables and then check if it’s valid.
- form_valid(form)
If the form is valid, save the associated model.
- form_invalid(form)
If the form is invalid, render the invalid form.