Skip to main content

Document Web APIs made with Django Rest Framework.

Project description

drfrequests

Django Rest Framework Requests

Documentation

Installation

Install using pip:

pip install drfrequests

Add 'rest_framework_docs' to your INSTALLED_APPS setting:

INSTALLED_APPS = [
    ...
    'rest_framework_requests',
]

Finally include the rest_framework_docs urls in your urls.py:

urlpatterns = [
    ...
    path('docs/', include('rest_framework_requests.urls')),
]

Settings

You can find detailed information about the package's settings at the docs.

REST_FRAMEWORK_DOCS = {
    'HIDE_DOCS': True  # Default: False
}

Credits

This project is a frok of https://github.com/manosim/django-rest-framework-docs which is a fork of https://github.com/marcgibbons/django-rest-framework-docs

Test Build

  • increment the version number in your setup.cfg file
  • $ python3 -m build
  • First upload to TestPypi: twine upload --repository testpypi dist/*
  • install pip install --index-url https://test.pypi.org/simple/ --no-deps drfrequests

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

drfrequests-0.4.tar.gz (16.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

drfrequests-0.4-py3-none-any.whl (26.0 kB view details)

Uploaded Python 3

File details

Details for the file drfrequests-0.4.tar.gz.

File metadata

  • Download URL: drfrequests-0.4.tar.gz
  • Upload date:
  • Size: 16.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for drfrequests-0.4.tar.gz
Algorithm Hash digest
SHA256 b802985ada28bbb344370ba58d3d8735d3e789b1b57e13d9020da98922cbe7f9
MD5 fdc2e92a03eea9e0ba13d91be6dae48b
BLAKE2b-256 5f8f9bc02ca5662c6eb28c805940d06bc4502ca97ba4e39385f248e7dd5e85c7

See more details on using hashes here.

File details

Details for the file drfrequests-0.4-py3-none-any.whl.

File metadata

  • Download URL: drfrequests-0.4-py3-none-any.whl
  • Upload date:
  • Size: 26.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for drfrequests-0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 df6028f66d759ba15dfc4657d782d316fdaa9537fcdbc0976da4785ba788c089
MD5 0d91affe9925ff6b03edf058a5f28ec1
BLAKE2b-256 8b29c118b7a7eb811fd45960ddadc4303d22b849f49b44b9a8d23528e6aa935c

See more details on using hashes here.

Supported by

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