OpenQuizz
Une application de gestion des contenus pédagogiques
URLSafeSerializerMixin Class Reference
Inheritance diagram for URLSafeSerializerMixin:
Collaboration diagram for URLSafeSerializerMixin:

Public Member Functions

def load_payload (self, payload, *args, **kwargs)
 
def dump_payload (self, obj)
 

Static Public Attributes

 default_serializer
 

Detailed Description

Mixed in with a regular serializer it will attempt to zlib
compress the string to make it shorter if necessary. It will also
base64 encode the string so that it can safely be placed in a URL.

Member Function Documentation

◆ dump_payload()

def dump_payload (   self,
  obj 
)

◆ load_payload()

def load_payload (   self,
  payload,
args,
**  kwargs 
)

Field Documentation

◆ default_serializer

default_serializer
static
Mixed in with a regular serializer it will attempt to zlib
compress the string to make it shorter if necessary. It will also
base64 encode the string so that it can safely be placed in a URL.

The documentation for this class was generated from the following file: