Shane,

My testing shows that the Django support now runs under both Python 2
and Python 3.

I've attached a distribution file containing these fixes in a
separate email.  You can also find the Mercurial repository with
these fixes at: https://bitbucket.org/dkuhlman/generateds

If and when you try it, please let me know about the results, and
about any other suggestions and ideas you have on generateDS, too.

If you have not seen it already, take a look at:
http://www.davekuhlman.org/generateDS.html#django-generating-models-and-forms

And, the gends_run_gen_django.py script, which automates the
generation process, may be helpful, too.

Dave


On Mon, Jan 02, 2017 at 06:20:54PM -0500, Shane Rigby wrote:
>    Hi Dave,
> 
>    That's awesome!
> 
>    I look forward to hearing further from you - I'm running a docker
>    container on hyper.sh that contains a gitlab runner (our schema is in
>    GitLab) that automatically generates the python classes using GenerateDS
>    so I can quickly create test case xmls from Excel. If I can get the Django
>    part working, I'd like to auto-deploy the whole shebang!  It would be
>    really neat.
> 
>    Anyway, let me know if you want me to test anything - happy to help in any
>    way I can.
>    On Mon, Jan 2, 2017 at 4:59 PM, Dave Kuhlman <dkuhl...@davekuhlman.org>
>    wrote:
> 
>      Shane,
> 
>      Good to hear from you.  Sounds like you are doing some interesting
>      work with XML.
> 
>      Thanks for reporting the problems which the Django support and
>      Python 3.  I'll look into that.
> 
>      OK.  I've done a little work on the Python 3 support for Django.  I
>      got the modules that generate the Django code to run successfully
>      under both Python 2 and Python 3.  And, I believe that the generated
>      files (models.py, forms.py, and admin.py), themselves are Python 3
>      compatible.  Give me a little time to do some more checking and then
>      I'll
>      pass them along to you, hopefully tomorrow (my time/date in
>      California, U.S.A).
> 
>      About whether I know of anyone working in this area, I'm not sure
>      what you mean by "this area".  If you mean using the Django support
>      provided by generateDS, I usually only get reports when something is
>      not working.  I've had several of those in the past, and have been
>      able to fix the reported problems.  But I don't know where those
>      projects went after that.
> 
>      More later when I have a fix for you.
> 
>      Dave
> 
>      On Sat, Dec 31, 2016 at 10:20:33AM -0500, Shane Rigby wrote:
>      > Hi Dave,
>      >
>      > I work for a LIXI a non-profit in Australia that manages the xml data
>      > standards that are used widely for applying for residential mortgages
>      in
>      > Australia. Simply put, we publish xsd schema for our members to use to
>      > transmit credit applications to each other.
>      >
>      > I've been learning python and trying out your project GenerateDS to
>      > generate python code to create and read messages. I've been trying to
>      get
>      > the Django model generation working but notice there is some Python2
>      > specific code that is causing me problems (I'm using Python3).
>      >
>      > Do you know if anyone is working in this area?
>      >
>      > I'm really new to open-source and trying to figure out how to best
>      > contribute (I'm really pretty new to Python).
>      >
>      > Cheers,
>      >
>      > Shane
> 
>      --
> 
>      Dave Kuhlman
>      http://www.davekuhlman.org

-- 

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