ConoscereLinux / asso-django

An open source Django Framework to manage Events, Member and basic Accounting for an Italian Association
GNU General Public License v3.0
0 stars 3 forks source link

Manage addresses #83

Closed giobber closed 11 months ago

giobber commented 11 months ago

Address fields:

First solution: Create a model for address and use OneToOne fields to link to one in them This permit more control but is a not needed subdivision unless this fields need to be shared

Second solution Create an abstract model mixin to add ResidenceAddressModel or FiscalAddress as inner fields More clean solution and mixin structure permit to add property and utils

NOTE: in member is required a Residence Address while a Fiscal Address can be added optionally (use the first as fiscal address as default), in the second solution a boolean field to choose between using the first or specify second is needed