Documentation for Web APIs made with Django Rest Framework.
- Python (3.3, 3.4, 3.5)
- Django (1.8, 1.9)
- Django Rest Framework (3+)
pyvenv env
env/bin/pip install -r requirements.txt
# To test within another django project
pip install -e ~/Projects/drf-docs/
Install using pip:
pip install drfdocs
Add 'drfdocs' to your INSTALLED_APPS setting:
INSTALLED_APPS = (
...
'drfdocs',
)
Finally include the drfdocs urls in your urls.py:
urlpatterns = [
...
url(r'^docs/', include('drfdocs.urls', namespace='drfdocs')),
]