Simple rest framework is an abstraction for building rest api with well written documentations
Project description
Simple Django Rest Framework
Simple Django Rest Framework is django based app used to provide abstraction that combines both django rest framework with drf_yasg a swagger generator to implement good looking and well documented apis using djang
Quick Start
Install
- assuming you already have a django project that you need to add this app to you need to start with installing the package using
pip install sdrf
- install required apps to INSTALLED_APPS in django settings
INSTALLED_APPS = [
...
"rest_framework",
"drf_yasg",
'sdrf',
]
- add swagger docs url to your project urls
from django.contrib import admin
from django.urls import path,include
urlpatterns = [
...
path('',include('sdrf.urls'))
]
- check out if everything is okay by visting default swagger docs url at
http://<your-project-url>/rest
Configure
Build API Endpoints
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.
Source Distribution
sdrf-0.0.5.tar.gz
(6.3 kB
view hashes)