Rémy,
NilReasonEnumeration is defined as a xs:simpleType in wmdr.xsd
(actually in some schema that is included or imported by it). So,
NilReasonEnumeration_model does not appear in the models.py that I
generate from wmdr.xsd.
Is it possible that I'm using a different schema than you are?
> I have tried running this command
> python manage.py makemigrations metadata
I downloaded Django-1.11.2.tar.gz. After unrolling it, I found:
Django-1.11.2/tests/i18n/sampleproject/manage.py
Django-1.11.2/django/core/management/commands/makemigrations.py
Are those the files you ran? If so, what is "metadata"?
I've got something else I need to work on this afternoon. But, I'll
look at this more closely tomorrow.
Dave
> Date: Wed, 7 Jun 2017 16:17:12 +0200
> From: Rémy Gibault <[email protected]>
> To: Dave Kuhlman <[email protected]>
> Cc: "[email protected]"
> <[email protected]>
> Subject: Re: SimpleType definitions - Extraction Error
>
> Hi Dave,
>
> Both models.py anf forms.py files have been generated.
>
> I have tried running this command
> python manage.py makemigrations metadata
>
>
> Here attached is the log file.
>
> As you can see there are a lot of errors.
> Most of them are relative to some missing NilReasonEnumeration_model
> relation.
>
> Strange...
>
>
>
> *Rémy GIBAULT*
> Responsable de Pôle Data Center
> Head of Data Management Systems
> ------------------------------
> *METEO FRANCE INTERNATIONAL*
> 9 rue Michel Labrousse, 31100 Toulouse, France
> Tel: + 33 5 61 43 29 79
> Skype: mfi_gibaultr
> Web : www.mfi.fr
>
>
>
[snip]
--
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