Rest API Code Generator
Project description
django-rest-gen
This generates a fully functioning apis using generated serializers and class-views.
How to use it
- Install it in your django project
pip install django-rest-gen
. - Run it and specify your app
python -m django-rest-gen
. You should also specify the appropriate arguments (e.g.,python -m django-rest-gen --settings iires/settings.py --apppath iirapp
)
Arguments
usage: django-rest-gen [-h] [--pythonpath PYTHONPATH] --settings SETTINGS --apppath APPPATH [--views VIEWS]
Generate Django REST API code
optional arguments:
-h, --help show this help message and exit
--pythonpath PYTHONPATH
Python Path directory.
--settings SETTINGS The path to the django project settings
--apppath APPPATH The path to the app
--views VIEWS The path to the views file
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-rest-gen-0.0.2.tar.gz
(7.1 kB
view hashes)
Built Distribution
Close
Hashes for django_rest_gen-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bfd7817498017137dc48e7b48f9878b0b4f867bc6873b1d9c86337d08d0b16fd |
|
MD5 | 7f55fae0ad5bb72d33a6017446a9697f |
|
BLAKE2b-256 | 80fc053ffb2a758b8fe97d48527ce5805dc24922d62042d27e305a515fe8fdc7 |