Skip to main content

URLSafeSerializer

Python API reference for the class url_safe.URLSafeSerializer.

Public API

Class: URLSafeSerializer

Canonical path: url_safe.URLSafeSerializer

Declared in: url_safe.py

Signature

class URLSafeSerializer(URLSafeSerializerMixin, Serializer): ...

Summary

Works like :class:`.Serializer` but dumps and loads into a URL safe string consisting of the upper and lowercase character of the alphabet as well as ``'_'``, ``'-'`` and ``'.'``.