django_unicorn.components.updaters#

Module Contents#

class django_unicorn.components.updaters.Update#

Base class for updaters.

to_json()#
class django_unicorn.components.updaters.HashUpdate(url_hash: str)#

Bases: Update

Updates the current URL hash from an action method.

class django_unicorn.components.updaters.LocationUpdate(redirect: django.http.response.HttpResponseRedirect, title: Optional[str] = None)#

Bases: Update

Updates the current URL from an action method.

class django_unicorn.components.updaters.PollUpdate(*, timing: Optional[int] = None, method: Optional[str] = None, disable: bool = False)#

Bases: Update

Updates the current poll from an action method.