https://github.com/raiderrobert/drf-editable
Allows you to more easily talk to Django Rest Framework with JS
https://github.com/raiderrobert/drf-editable
django django-rest-framework javascript
Last synced: 3 months ago
JSON representation
Allows you to more easily talk to Django Rest Framework with JS
- Host: GitHub
- URL: https://github.com/raiderrobert/drf-editable
- Owner: raiderrobert
- License: mit
- Created: 2017-10-02T20:11:02.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-10-03T16:52:31.000Z (almost 9 years ago)
- Last Synced: 2025-07-22T03:48:58.602Z (about 1 year ago)
- Topics: django, django-rest-framework, javascript
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# drf-editable
A django app for integrating django rest framework into js
## Install via pip
pip install git+https://github.com/raiderrobert/drf-vue-editable/
## Add to installed apps
INSTALLED_APPS = [
...
'drf_editable',
]
## Load the drf_edtiable library and place the template tags appropriately
# some_html.html
{% load drfe %}
Hello World!
{% drfe_js %}
{% drfe resource='rest_framework:polls:detail' action='PATCH' fields='name' %}