Closed jsfenfen closed 6 years ago
report that duplicate models are in the generated schemas? I've been ignoring the warnings on this, didn't even bother to look at the (admittedly gnarly) files.
https://github.com/jsfenfen/990-xml-database/blob/master/irsdb/metadata/management/commands/generate_schemas_from_metadata.py#L134
It looks like we need to add 'versions__contains=CANONICAL_VERSION' as an additional filter.
report that duplicate models are in the generated schemas? I've been ignoring the warnings on this, didn't even bother to look at the (admittedly gnarly) files.