There is a new version of generateDS.py -- version 2.25a.

There are quite a few fixes to Django support.  Thanks to
Shane Rigby for lots of help with that.

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.25a (03/21/2017)

- Fixes to the Django support for Python 3.  Thanks to Shane Rigby
  for all his help with all of these changes to the Django code.
- Added `optional` to the MemberSpec so that when command line
  option "--member-specs" is "dict" or "list", the generated code
  specifies whether the member is optional or not.
- In the Django support, `django/gends_run_gen_django.py` now has
  new option "-s" ("--script") that can be used to write out the
  command lines used internally by `django/gends_run_gen_django.py`.
  This new flag can be used to generate a shell script that can be
  run instead of `django/gends_run_gen_django.py`.  (Note: The
  script might require a minor edit or two.)
- In the Django support, there is now some attempt to treat optional
  members specially and to generate "blank=True, null=True," in the
  `models.py` file.
- Fix to Django support so that we generate *unique* names for
  `related_name`.
- Added several date/time types for Django support: 'gYear',
  'gYearMonth', 'gMonth', 'gMonthDay', 'gDay',

# =========================================================

-- 

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
generateds-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/generateds-users

Reply via email to