auth.models.Group.name

name Required. 80 characters or fewer. Any characters are permitted. Example: 'Awesome Users'.

views.generic.edit.UpdateView.object

object When using UpdateView you have access to self.object, which is the object being updated. Example myapp/views.py: from django.views.generic.edit import UpdateView from myapp.models import Author class AuthorUpdate(UpdateView): model = Author fields = ['name'] template_name_suffix = '_update_form' Example myapp/author_update_form.html: <form action="" method="post">{% csrf_token %} {{ form.as_p }} <input type="submit" value="Update" /> </form>

forms.DecimalField.decimal_places

decimal_places The maximum number of decimal places permitted.

forms.BoundField.auto_id

BoundField.auto_id The HTML ID attribute for this BoundField. Returns an empty string if Form.auto_id is False.

forms.Form.clean()

Form.clean() Implement a clean() method on your Form when you must add custom validation for fields that are interdependent. See Cleaning and validating fields that depend on each other for example usage.

forms.Form.has_changed()

Form.has_changed() Use the has_changed() method on your Form when you need to check if the form data has been changed from the initial data. >>> data = {'subject': 'hello', ... 'message': 'Hi there', ... 'sender': 'foo@example.com', ... 'cc_myself': True} >>> f = ContactForm(data, initial=data) >>> f.has_changed() False When the form is submitted, we reconstruct it and provide the original data so that the comparison can be done: >>&g

forms.BoundField.form

BoundField.form The Form instance this BoundField is bound to.

admin.ModelAdmin.save_on_top

ModelAdmin.save_on_top Set save_on_top to add save buttons across the top of your admin change forms. Normally, the save buttons appear only at the bottom of the forms. If you set save_on_top, the buttons will appear both on the top and the bottom. By default, save_on_top is set to False.

test.SimpleTestCase.assertXMLNotEqual()

SimpleTestCase.assertXMLNotEqual(xml1, xml2, msg=None) [source] Asserts that the strings xml1 and xml2 are not equal. The comparison is based on XML semantics. See assertXMLEqual() for details. Output in case of error can be customized with the msg argument.

auth.models.User.is_superuser

is_superuser Boolean. Designates that this user has all permissions without explicitly assigning them.