Drf-generators

Latest version: v0.5.0

Safety actively analyzes 630305 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

0.2.5

Minor fixes
- Only include depth in serializers when >0, "modelviewset" in format list - jeverling
- Removed blank lines from start/end of files and unused imports - jeverling

0.2.4

Features
- option (`-d`, `--depth`) added to set serialization depth

0.2.3

Options were not being parsed correctly in versions of Python < 3.4. Fixed to user optparse.

0.2.2

There were a couple bugs to iron out with the way django treats argparse in 1.7 and 1.8. Now compatible with both versions.

0.2.1

Features
- ModelViewSet generation

Bugfixes/Enhancements
- CI set up on Travis
- Testing refactored to one app

0.2

Features
- function based views are now supported
- `--force` option added to overwrite files
- added test api for function based views
- `--format` option added for view format. `viewset` by default

Style Changes
- moved templates to separate files for each view style

Bugfixes
- fixed `input` and `raw_input` for python 2 and python 3

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.