w10schools
Login Register
  • Home
  • Tutorials
    • HTML, CSS
      • HTML, HTML5
      • CSS, CSS3
    • XML
    • JavaScript, AJAX
    • PHP
    • Ruby on Rails
      • Ruby
      • Rails
    • ASP.NET
      • ASP
      • C# .NET
    • Java
      • JSP
    • Databases
      • MySQL
      • MSSQL Server
      • Oracle
    • Web Server
      • Windows
      • Linux
      • Apache
      • IIS
    • Design
      • Dreamweaver
      • Flash
      • Photoshop
      • Fireworks
      • CorelDRAW
      • Illustrator
  • References
    • HTML
      • Bootstrap
    • CSS
      • CSS Selectors
      • Sass
    • JavaScript
    • Mobile Apps
      • Cordova
    • Ruby on Rails
      • Ruby
      • Rails
    • PHP
      • Function
      • Language
      • CodeIgniter
      • Phalcon
      • PHPUnit
      • Symfony
      • Drupal
      • Yii
      • Laravel
    • Perl
      • Perl
    • Python
      • Python
      • Django
      • NumPy
      • Pandas
      • scikit-image
      • scikit-learn
      • Statsmodels
      • Matplotlib
    • Lua
      • Lua
    • C, C++
      • C
      • C++
    • Server
      • Docker
      • Apache HTTP Server
      • Nginx
    • Database
      • PostgreSQL
    • Big Data
      • TensorFlow
    • Game Development
      • Phaser
      • LÖVE
  • Articles
    • News
    • General
      • Website Promotion
      • Online Advertising
      • Make Money Online
    • Editorials
    • Interviews
    • Web Roundups
  • Resources
    • Design
      • Fonts
      • Graphics
      • Vectors
      • Templates
      • UI (User Interface)
      • Brushes
      • Patterns, Backgrounds
      • Textures
    • Web Development
      • HTML, CSS
      • XML
      • JavaScript, AJAX
      • Ruby on Rails
      • PHP
      • Java
      • .NET
      • Python
      • Perl
      • Flash
    • Mobile Application Development
      • Mobile Development Tools
      • Swift
    • Online Services
      • Online Storage
      • Web Hosting
  • Tools
    • Generators
views.generic.edit.FormMixin.form_valid()

form_valid(form) Redirects to get_success_url().

views.generic.edit.FormMixin.get_context_data()

get_context_data(**kwargs) New in Django 1.9. Calls get_form() and adds the result to the context data with the name ‘form’.

views.generic.edit.FormMixin.get_form()

get_form(form_class=None) Instantiate an instance of form_class using get_form_kwargs(). If form_class isn’t provided get_form_class() will be used.

views.generic.edit.FormMixin.get_form_class()

get_form_class() Retrieve the form class to instantiate. By default form_class.

views.generic.edit.FormMixin.get_form_kwargs()

get_form_kwargs() Build the keyword arguments required to instantiate the form. The initial argument is set to get_initial(). If the request is a POST or PUT, the request data (request.POST and request.FILES) will also be provided.

views.generic.edit.FormMixin.get_initial()

get_initial() Retrieve initial data for the form. By default, returns a copy of initial.

views.generic.edit.FormMixin.get_prefix()

get_prefix() Determine the prefix for the generated form. Returns prefix by default.

views.generic.edit.FormMixin.get_success_url()

get_success_url() Determine the URL to redirect to when the form is successfully validated. Returns success_url by default.

views.generic.edit.FormMixin.initial

initial A dictionary containing initial data for the form.

views.generic.edit.FormMixin.prefix

prefix The prefix for the generated form.

Popular Articles
FormSubmitter Provides submission processing for forms. Hierarchy class \Drupal\Core\Form\FormSubmitter implements FormSubmitterInterface File core/lib/Drupal/C
Component.Core#animations animations : Phaser.AnimationManager If the Game Object is enabled for animation (such as a Phaser.Sprite) this is a reference to its AnimationMana
Yaf_Route_Regex::route (Yaf >=1.0.0) The route purpose public bool Yaf_Route_Regex::route ( Yaf_Request_Abstract $requ
ALTER TRIGGER NameALTER TRIGGER -- change the definition of a trigger Synopsis ALTER TRIGGER name ON table_name RENAME TO new_name ALTER TRIGGER name ON tabl
HtmlResponseAttachmentsProcessor::renderHtmlResponseAttachmentPlaceholders protected HtmlResponseAttachmentsProcessor::renderHtmlResponseAttachmentPlaceholders(HtmlResponse $response, array $placeholders, array $variables) R


Page 4555 of 11844

|< < Prev 4552 4553 4554 4555 4556 4557 4558 Next > >|
  • Facebook
  • Tweet
  • Digg it
  • Stumbleupon
  • Delicious
  • Plus Share

Designed by : w10schools

service@w10schools.com

Our Partners: aeeble – Providing content publishing and search solutions