server/python/django2/Readme.md
author ymh <ymh.work@gmail.com>
Wed, 27 Jul 2016 15:40:57 +0200
changeset 636 92e561edff08
parent 613 e00a24b711a0
permissions -rw-r--r--
Added tag 00.12.22 for changeset dffc5ec04c87

# RENKAN API - Django REST Framework

## Configuration

The following setting can be defined:

	RENKAN_USER_DISPLAY_FIELD

This defines the field that will be used in your user model to serialize the user information your API will send in the responses. ("username", "external_id"...) Will default to the USERNAME_FIELD of the User Model class.

## Test

    $ DJANGO_SETTINGS_MODULE=tests.settings django-admin test renkanmanager