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_docs',
)
Finally include the rest_framework_docs
urls in your urls.py
:
urlpatterns = [
...
url(r'^docs/', include('rest_framework_docs.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
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
drfrequests-0.1.tar.gz
(16.4 kB
view hashes)
Built Distribution
drfrequests-0.1-py3-none-any.whl
(26.0 kB
view hashes)
Close
Hashes for drfrequests-0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | df00a12615331c20a47223aeea608e861bc6eb645955a21cbff490342b0da2a0 |
|
MD5 | df47f217ed031d1872ed1e527d2ff794 |
|
BLAKE2b-256 | 45e7d6a1e41765c94043f25bd3bd18096ae30fac3d82fa0a65c636184062b551 |