Document Web APIs made with Django Rest Framework.
Project description
drfrequests
Django Rest Framework Requests
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
packaging: Update Version
Updating your distribution Down the road, after you’ve made updates to your distribution and wish to make a new release:
pip install build
pip install twine
- increment the version number in your
setup.cfgfile $ python3 -m build
Upload package to the Python Package Index:
$ twine upload dist/*
see: https://packaging.python.org/tutorials/packaging-projects/
For development
pip install -e ../drfrequests/
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file drfrequests-0.5.tar.gz.
File metadata
- Download URL: drfrequests-0.5.tar.gz
- Upload date:
- Size: 16.6 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e44e5db36dc2a12223e55c787793163db4f15fbc79c2ad4f3a246f4e70a8145e
|
|
| MD5 |
951d376d5c5cedb5758b3d1dc5de158b
|
|
| BLAKE2b-256 |
68db530c6126999d8a06ca1d36692d55021b96efe663a8e29f0b9f24d558cdf5
|
File details
Details for the file drfrequests-0.5-py3-none-any.whl.
File metadata
- Download URL: drfrequests-0.5-py3-none-any.whl
- Upload date:
- Size: 26.1 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
56f5afecf1949a8ff930594e68c83bfeab36ad9babc56f493ef57d1bd4a29324
|
|
| MD5 |
450ebbd6ae73ece19b0b48c7fbac1d72
|
|
| BLAKE2b-256 |
fb96f2556b7321d508f664399ea1f745d544678061ce5cd1e5672b60a93ad1c4
|