Skip to content
A light REST library for Django.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
nap Clean up readonly handling in fields Dec 28, 2018
tests
.gitignore
.travis.yml Exclude py3.4 for Django 2.1 Aug 3, 2018
LICENSE
README.rst
THANKS
TODO
requirements.txt
runtests.py
setup.cfg
setup.py
tox.ini

README.rst

django-nap

Read The Docs: https://django-nap.readthedocs.io/en/latest/

Change log: https://django-nap.readthedocs.io/en/latest/changelog.html

An API library for Django

A minimalist approach to object de/serialisers, RESTful views, and RPC views.

Benefits

  1. Modular

    Unlike some tools, the Serialiser definition is separate from the API.

    This not only makes it easier to have different 'shapes' of data for different endpoints, but also allows using them in more places, not just your API.

  1. Simple

    If you want an API that provides every feature ever, go look at Django REST Framework. But if you want something simple and fast, this is your tool.

Overview

Installing

It is NOT necessary to add nap to your INSTALLED_APPS. It does not provide models, templates, template tags, or static files.

Tests are currently run for Python 3.4-3.6 and pypy3, and against Django versions 2.0 and up.

You can’t perform that action at this time.