drf-toolbox

A collection of useful functionality on top of Django REST Framework.


License
BSD-3-Clause
Install
pip install drf-toolbox==0.1.2

Documentation

Welcome to DRF Toolbox

Build Status Coverage Status

drf-toolbox is a general set of enhancements for the excellent Django REST Framework, which enables fully-featured REST APIs written on top of Django.

This project represents a collection of features to complement the basic functionality provided by DRF, in particular:

  • Nesting models' API endpoints
  • Enhanced serialization, including:
    • The ability to show full, nested relationships, or a subset of fields
    • Optional use of UNIX timestamps in JSON models
    • Enhanced API endpoint serialization, using get_absolute_url.
  • Built-in support for fields provided by django-pgfields

Installation & Dependencies

drf-toolbox can be installed using the usual means:

pip install drf-toolbox

drf-toolbox requires Django 1.6 or higher, and Django REST Framework 2.3.10 or higher. If the django-pgfields are being used, 1.5.1 or higher is expected.

License

New BSD.

Documentation

Documentaiton is graciously hosted by Read the Docs.