rest_framework_tricks package

Subpackages

Submodules

rest_framework_tricks.apps module

Apps.

class rest_framework_tricks.apps.Config(app_name, app_module)[source]

Bases: django.apps.config.AppConfig

Config.

label = 'rest_framework_tricks'
name = 'rest_framework_tricks'

rest_framework_tricks.utils module

Utils.

class rest_framework_tricks.utils.DictProxy(mapping)[source]

Bases: object

Dictionary proxy.

Example:

>>> from rest_framework_tricks.utils import DictProxy
>>>
>>>
>>> __dict = {
>>>     'name': self.faker.name(),
>>>     'date': self.faker.date(),
>>> }
>>>
>>> __dict_proxy = DictProxy(__dict)

Module contents

Collection of various tricks for Django REST framework.