views.generic.edit.ProcessFormView.get()

get(request, *args, **kwargs) Renders a response using a context created with get_context_data(). Changed in Django 1.9: Construction of the form was moved from this method to get_context_data().

sessions.backends.base.SessionBase.__contains__()

__contains__(key) Example: 'fav_color' in request.session

forms.Widget.id_for_label()

id_for_label(self, id_) [source] Returns the HTML ID attribute of this widget for use by a <label>, given the ID of the field. Returns None if an ID isn’t available. This hook is necessary because some widgets have multiple HTML elements and, thus, multiple IDs. In that case, this method should return an ID value that corresponds to the first ID in the widget’s tags.

forms.SplitDateTimeWidget

class SplitDateTimeWidget [source] Wrapper (using MultiWidget) around two widgets: DateInput for the date, and TimeInput for the time. Must be used with SplitDateTimeField rather than DateTimeField. SplitDateTimeWidget has two optional attributes: date_format Similar to DateInput.format time_format Similar to TimeInput.format

http.HttpResponse.seekable()

HttpResponse.seekable() New in Django 1.10: Always False. This method makes an HttpResponse instance a stream-like object.

admin.models.LogEntry.user

LogEntry.user The user (an AUTH_USER_MODEL instance) who performed the action.

Conditional View Processing

HTTP clients can send a number of headers to tell the server about copies of a resource that they have already seen. This is commonly used when retrieving a Web page (using an HTTP GET request) to avoid sending all the data for something the client has already retrieved. However, the same headers can be used for all HTTP methods (POST, PUT, DELETE, etc.). For each page (response) that Django sends back from a view, it might provide two HTTP headers: the ETag header and the Last-Modified header.

Templates

Django’s template engine provides a powerful mini-language for defining the user-facing layer of your application, encouraging a clean separation of application and presentation logic. Templates can be maintained by anyone with an understanding of HTML; no knowledge of Python is required. For introductory material, see Templates topic guide. The Django template languageTemplates Variables Filters Tags Comments Template inheritance Automatic HTML escaping Accessing method calls Custom tag and f

gis.gdal.Field.width

width Returns the width of this field: >>> city['Name'].width 80

sessions.backends.base.SessionBase.keys()

keys()