class documentation

class HTMLFormRenderer(BaseRenderer): (source)

View In Hierarchy

Renderers serializer data into an HTML form. If the serializer was instantiated without an object then this will return an HTML form not bound to any object, otherwise it will return an HTML form with the appropriate initial data populated from the object. Note that rendering of field and form errors is not currently supported.

Method render Render serializer data and return an HTML form, as a string.
Method render_field Undocumented
Class Variable base_template Undocumented
Class Variable charset Undocumented
Class Variable default_style Undocumented
Class Variable format Undocumented
Class Variable media_type Undocumented
Class Variable template_pack Undocumented

Inherited from BaseRenderer:

Class Variable render_style Undocumented
def render(self, data, accepted_media_type=None, renderer_context=None): (source)

Render serializer data and return an HTML form, as a string.

def render_field(self, field, parent_style): (source)

Undocumented

base_template: str = (source)

Undocumented

default_style = (source)

Undocumented

template_pack: str = (source)

Undocumented