Skip to main content

URLSafeSerializerMixin

Python API reference for the class url_safe.URLSafeSerializerMixin.

Public API

Class: URLSafeSerializerMixin

Canonical path: url_safe.URLSafeSerializerMixin

Declared in: url_safe.py

Signature

class URLSafeSerializerMixin: ...

Summary

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.