- Language: en
10 results for Best practices in version 4.1
-
The Forms API
- … best practices when defining form errors. Note that Form.add_error() automatically removes the relevant field …
-
Admin actions
- … best practice will be to return an HttpResponseRedirect and redirect the user to a view …
-
Applications
- … best practice is to move that code to a submodule and import it. A workaround …
-
Form and field validation
- … best practice in raising ValidationError . If no ValidationError is raised, the method should return the cleaned …
-
Middleware
- … best practice to normalize URLs. If necessary, individual views may be excluded from the APPEND …
-
QuerySet API reference
- … QuerySet API reference This document describes the details of the QuerySet API. It builds on …
-
Settings
- … Settings Core Settings Auth Messages Sessions Sites Static Files Core Settings Topical Index Warning Be …
-
Model instance reference
- … Model instance reference This document describes the details of the Model API. It builds on …
-
Uploaded Files and Upload Handlers
- … Uploaded Files and Upload Handlers Uploaded files class UploadedFile [source] During file uploads, the actual …
-
Built-in template tags and filters
- … Built-in template tags and filters This document describes Django’s built-in template tags …