- Language: en
42 results for forms in version 1.8
-
The Django admin site
- … form, for example: from django import forms class MyForm ( forms . ModelForm ): pass class MyModelAdmin ( admin …
-
Widgets
- … forms class CommentForm ( forms . Form ): name = forms . CharField () url = forms . URLField () comment = forms . CharField ( widget …
-
Editing mixins
- … form_class () Retrieve the form class to instantiate. By default form_class . get_form ( form …
-
Model field reference
- … form field it should be represented by: formfield ( form_class=None , choices_form_class=None …
-
Generic editing views
- … forms class ContactForm ( forms . Form ): name = forms . CharField () message = forms . CharField ( widget = forms . Textarea ) def send …
-
Request and response objects
- … forms: binary images, XML payload etc. For processing conventional form data, use HttpRequest.POST . You can also …
-
Validators
- … forms: from django import forms class MyForm ( forms . Form ): even_field = forms . IntegerField ( validators = [ validate …
-
Settings
- … form submission would fail in this case. Some browsers (specifically Internet Explorer) can disallow the use of persistent …
-
PostgreSQL specific model fields
- … form_field The form field class to use. Should be a subclass of django.contrib.postgres.forms.BaseRangeField . class …
-
GEOS API
- … form of a string, buffer, or even another object. GEOSGeometry. ewkt Returns the “extended” Well …