tuffnatty / xsd_to_django_model

Generate Django models from an XSD schema description (and a bunch of hints)
GNU General Public License v3.0
25 stars 11 forks source link

Add field type options #7

Closed andykingking closed 1 year ago

andykingking commented 5 years ago

Adds the option to specify field option overrides by final field type, e.g.:

'field_type_options': {
    'models.DecimalField': ['max_digits=20'],
}

NOTE: Includes commit from PR #6

tuffnatty commented 1 year ago

@andykingking Thanks! Sorry it took so long.