server/python/django2/Readme.md
author durandn
Thu, 21 Apr 2016 15:18:19 +0200
changeset 605 13d355fd09bf
parent 594 b45eb8244cd9
child 613 e00a24b711a0
permissions -rw-r--r--
updated uri to allow optional trailing slash on single resource URIs (django automatic redirects don't carry over the Authorization header that can sometimes be needed, for instance with OAuth)

# 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.