https://github.com/vintasoftware/classy-django-rest-framework
Detailed descriptions, with full methods and attributes, for each of Django REST Framework's class-based views and serializers.
https://github.com/vintasoftware/classy-django-rest-framework
Last synced: 4 months ago
JSON representation
Detailed descriptions, with full methods and attributes, for each of Django REST Framework's class-based views and serializers.
- Host: GitHub
- URL: https://github.com/vintasoftware/classy-django-rest-framework
- Owner: vintasoftware
- License: mit
- Created: 2015-03-03T18:32:57.000Z (over 11 years ago)
- Default Branch: develop
- Last Pushed: 2024-01-11T21:24:10.000Z (over 2 years ago)
- Last Synced: 2025-06-04T02:23:09.392Z (about 1 year ago)
- Language: Python
- Homepage: http://cdrf.co
- Size: 185 KB
- Stars: 194
- Watchers: 22
- Forks: 20
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Classy Django REST Framework.
[](https://github.com/vintasoftware/classy-django-rest-framework/actions/workflows/build.yml) [](https://coveralls.io/github/vintasoftware/classy-django-rest-framework?branch=develop)
## What is this?
[Django REST framework](https://www.django-rest-framework.org) is a powerful and flexible toolkit that makes it easy to build Web APIs. It provides class based generic API views and serializers. We've taken all the attributes and methods that every view/serializer defines or inherits, and flattened all that information onto one comprehensive page per class. This project is heavily based on [Classy Class-Based Views](https://ccbv.co.uk) and was developed by [Vinta Software Studio](https://www.vinta.com.br).
## Dependencies
* Classy Django REST Framework is ready for development with [Dev Container](https://code.visualstudio.com/docs/devcontainers/tutorial). After downloading the code you just need to use "Reopen in Container" option and after building run `pip install -r requirements-test.txt` just once.
## Building
`fab build`
The first build will take a while.
## Run locally:
`fab runserver`
## Deployment
- Run the github action [release](https://github.com/vintasoftware/classy-django-rest-framework/actions/workflows/build-deploy.yml)
## Tests
`fab test`
## Adding a new version
1. Add the version to `rest_framework_ccbv.config.py::REST_FRAMEWORK_VERSIONS`
2. In `build.ini`:
- Add the version to envlist
- Add the deps to the version, use the latest supported django version (check deps314)
- Add the index generation (check testenv:drf314)
- Add the doc generation (check testenv:drfbuild314)
3. Update `requirements-test.txt` to use the latest supported DRF version and its latest supported Django version
## Commercial Support
[](https://www.vinta.com.br/)
This project is maintained by [Vinta Software](https://www.vinta.com.br/) and is used in products of Vinta's clients. We are always looking for exciting work, so if you need any commercial support, feel free to get in touch: contact@vinta.com.br