A package to create boring stuff of django rest framework
Project description
django-easy-drf
A simple package that makes for you the repetitive work of creating Serializers, ViewSets and urls for django rest framework.
Installation
On a virtualenv run:
pip install django-easy-drf
Usage
On the same virtualenv, you will have easy-drf command available, so run:
easy-drf
This command will create serializers.py, views.py and urls.py files on the same directory, with all the classes created.
Note: requires that a file called models.py exists on the current directory.
Future developments
- Warn users about files override.
- Allow users to force script without prompt.
- Allow users to create just one specific file.
- Allow users to create just one model.
- Allow users to specify different models file.
- Allow users to specify different results file names.
Contributing
If you have an idea or an implementation, let me know by submitting an issue or a PR.
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
django-easy-drf-0.0.12.tar.gz
(4.7 kB
view hashes)
Built Distribution
Close
Hashes for django_easy_drf-0.0.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8b5e9c7c708ec067ef07da3cdf92a3ef1ee1bd9a935a1a23b657aaaa3aaec09 |
|
MD5 | 2d0ef32de165ae7dd6c3689f7fbf8445 |
|
BLAKE2b-256 | ee0b5750b13fca8874e1ac8342b6b022042264cedf904a4f527992ad35084ebc |