django-typed-models icon indicating copy to clipboard operation
django-typed-models copied to clipboard

using db_column to distinguish field with same names in child models

Open beda42 opened this issue 6 years ago • 1 comments

Hi there,

I am just wandering, would it be (theoretically, I see it is not possible right now) possible to use same names for fields in derived classes if each used a different db_column name? At first glance, it seems to me that this should be feasible.

Best regards Beda

beda42 avatar May 10 '18 09:05 beda42

Yes it should be doable, and makes sense 👍

craigds avatar May 16 '18 22:05 craigds