Name: drf-ember-backend
Owner: Duke Center for Genomic and Computational Biology
Description: Backend code to enable Ember Data when using the Django REST Framework
Created: 2018-01-09 14:26:38.0
Updated: 2018-01-09 18:42:08.0
Pushed: 2018-01-09 19:18:43.0
Homepage: null
Size: 13
Language: Python
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Backend code to enable Ember Data when using the Django REST Framework
Steps to use drf-ember-backend in an existing Django REST Framework based project.
It is assumed that the project already has Django
and djangorestframework
in requirements.txt
drf-ember-backend
to requirements.txt specifying the desired versionpip install -r requirements.txt
_FRAMEWORK = {
AULT_RENDERER_CLASSES': (
...
'drf_ember_backend.renderers.JSONRootObjectRenderer',
AULT_PARSER_CLASSES': (
...
'drf_ember_backend.parsers.JSONRootObjectParser',
EPTION_HANDLER': 'drf_ember_backend.exception_handlers.switching_exception_handler',
ualenv -p python env
ce env/bin/activate
install -r devRequirements.txt
on manage.py test