- Language: en
31 results for forms in version 2.0
-
File Uploads
- … form containing a FileField : forms.py from django import forms class UploadFileForm ( forms . Form ): title = forms …
-
Using mixins with class-based views
- … form . is_valid (): return self . form_valid ( form ) else : return self . form_invalid ( form ) def form …
-
Translation
- … forms from django.utils.translation import ngettext_lazy class MyForm ( forms . Form ): error_message = ngettext_lazy ( "You only …
-
Testing tools
- … form raises the provided list of errors when rendered on the form. form is the name …
-
Models
- … form widget. It’s useful for documentation even if your field isn’t used on a form …
-
Password management in Django
- … forms, as you can pass the output directly to the help_text parameter of a form …
-
Serializing Django objects
- … form YYYY-MM-DD as defined in ECMA-262 . time A string of the form …
-
Making queries
- … form field__lookuptype=value . (That’s a double-underscore). For example: >>> Entry …
-
Security in Django
- … form POST to your website and have another logged in user unwittingly submit that form …
-
Internationalization and localization
- … form ll or a combined language and country specification of the form ll_CC . Examples …