utils.dateparse.parse_time()

parse_time(value) [source] Parses a string and returns a datetime.time. UTC offsets aren’t supported; if value describes one, the result is None.

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>

gis.gdal.Feature.geom

geom Returns the geometry for this feature, as an OGRGeometry object: >>> city.geom.tuple (-104.609252, 38.255001)

db.models.fields.files.FieldFile.url

FieldFile.url A read-only property to access the file’s relative URL by calling the url() method of the underlying Storage class.

http.QueryDict.__contains__()

QueryDict.__contains__(key) Returns True if the given key is set. This lets you do, e.g., if "foo" in request.GET.

forms.ClearableFileInput

class ClearableFileInput [source] File upload input: <input type='file' ...>, with an additional checkbox input to clear the field’s value, if the field is not required and has initial data.

core.management.BaseCommand.get_version()

BaseCommand.get_version() [source] Returns the Django version, which should be correct for all built-in Django commands. User-supplied commands can override this method to return their own version.

gis.gdal.SpatialReference.linear_units

linear_units Returns the value of the linear units.

auth.models.Group.name

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

gis.measure.Area.__getattr__()

__getattr__(unit_att) Returns the area value in units corresponding to the given unit attribute. For example: >>> print(a.sq_km) 12.949940551680001