Skip to content

Allows you to more easily talk to Django Rest Framework with JS

License

Notifications You must be signed in to change notification settings

raiderrobert/drf-editable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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 %}
<!DOCTYPE html>

<html>
    <head>
        <title>Hello World!</title>
        <meta charset="utf-8">
        {% drfe_js %}
    </head>
    <body>
        {% drfe resource='rest_framework:polls:detail' action='PATCH' fields='name' %}
    </body>
</html>

About

Allows you to more easily talk to Django Rest Framework with JS

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages