A Django app to easily integrate with react from models.
Project description
This package, with the corresponding npm package with the same name, enables a django headless infrastructure for running with react very easily, directly from your models.
Quick start:
Add “drf-react-by-schema” to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [ ... 'drf-react-by-schema', ]
Include the URL configuration in your project urls.py like this:
urlpatterns = [ ... path('', include('drf_react_by_schema.urls')), ]
Start the development server and visit http://127.0.0.1:8000/api/endpoints and you will see all endpoints available.
You can customize viewsets and serializers to annotate other attributes.
This package offers special fields for added control over metadata directly from model.
More documentation will come one day.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.