aor-django-rest-framework

1.1.4 • Public • Published

Build Status Coverage Status

django_rest_framework_client

Djang REST Framework client for admin-on-rest

Usage

Install the package from npmjs.com:

npm install aor-django-rest-framework --save

Add these to your App.js

import DjangoRestClient from "aor-django-rest-framework";
const restClient = DjangoRestClient("http://my.domain/api");
const App = () => (
   <Admin dashboard={Dashboard} restClient={restClient}>
    ...

Installation and development

first install npm, and install required packages, build and run tests

npm install
npm run build
npm run test

Travis-ci handles the deployment to npmjs.com from master branch. To deploy a new version, first bump packages with npm version [<newversion> | major | minor | patch | premajor | preminor | prepatch | prerelease | from-git]. This will set the correct version to package.json, create a git commit, and set the correct git tag. Merge to master, and Travis will deploy it.

Package Sidebar

Install

npm i aor-django-rest-framework

Weekly Downloads

4

Version

1.1.4

License

MIT

Unpacked Size

15.9 kB

Total Files

6

Last publish

Collaborators

  • aleksi_wikman
  • kallemar
  • tswfi