There is a new version of generateDS.py -- version 2.27a.
This release contains several changes for the generation of Django
models and forms, in particular, (1) a fix for generation of floats and
(2) the addition of the ability to suppress the generation of model and
form class name suffixes ("_model" and "_form"). Thanks to Sriram
Sundar for reporting and suggesting those.
See the notes below from the README for more details.
You can find it here:
- Python Package Index -- http://pypi.python.org/pypi/generateDS/
- Source Forge -- http://sourceforge.net/projects/generateds/
- Bitbucket -- For those of you who prefer using Mercurial, there is
also a Mercurial repository at Bitbucket:
https://bitbucket.org/dkuhlman/generateds
If you have comments, suggestions, or problems, please send them
along. The email list is here:
https://lists.sourceforge.net/lists/listinfo/generateds-users
Dave
# =========================================================
Version 2.28b (08/22/2017)
- Fix for Django models and forms generation -- "float" data type
was being mapped and was not treated as a simple data type.
Thanks to Sriram Sundar for catching and reporting this.
- Sriram also requested that in the Django models and forms
generation, we be able to omit the "_model" and "_form" suffix on
generated class names. There is now a "--no-class-suffixes"
command line option accepted by both gends_run_gen_django.py
and gends_generate_django.py to do that. Thanks to Sriram for
this suggestion.
- Added Python version to the information in the comments at the top
of generated modules.
# =========================================================
--
Dave Kuhlman
http://www.davekuhlman.org
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
generateds-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/generateds-users