Automatic Web Documentation for django-tastypie
Requirement: django-chocolate
- https://github.com/juanique/django-chocolate
- Add
tastydocs
to theINSTALLED_APPS
tuple onsettings.py
. - Add a reference to the
tastydocs
URLs inurls.py
In urls.py
:
(r'^docs/', include("tastydocs.urls"), {"api": api}) # api must be a reference to the TastyPie API object.
Check out the test_project
directory for an example of a project using this tool.