I have Django project and I need to create model with fields, which every of them must have 17 fields of string, something like nested dict.
Code below doesnt work, just example. I need something like that:
class LimitValues(models.Model):
stateDescription = models.TextField() # x17
class VSRGraduation(models.Model):
some_field_1= models.ForeignKey(LimitValues)
some_field_2= models.ForeignKey(LimitValues)
some_field_3= models.ForeignKey(LimitValues)
# etc... total 15 some_fields
Maybe you are faced with same problem.