Skip to content

pdrum/drftest_example

Repository files navigation

DRF TEST Example

This project is a demonstration of how DRF Test can be used for simplifying writing tests and documentation for APIs developed using django-rest-framework.

DRF Test can be accessed using:

The project consists of a very simple django app which exposes APIs for creating todo-items. Of course in order to make that work there are some models, serializers, etc as well. The tests are in todo/tests/test_view.py and source for generated documentation resides at generated_docs/ directory. The resulting documentation is also hosted on netlify and can be accessed using this link