Skip to main content

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

  1. 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
  1. install required apps to INSTALLED_APPS in django settings
INSTALLED_APPS = [
    ...
    "rest_framework",
    "drf_yasg",
    'sdrf',
]
  1. add swagger docs url to your project urls
from django.contrib import admin
from django.urls import path,include

urlpatterns = [
    ...
    path('',include('sdrf.urls'))
]
  1. check out if everything is okay by visting default swagger docs url at http://<your-project-url>/rest Empty Swagger UI example

Configure

Build API Endpoints

Project details


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)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page