1. Andy Mikhailenko
  2. eav-django
  3. Issues
Issue #9 resolved

FK to Choice never gets saved on Attribute

created an issue

Maybe I misunderstand something here and this is not an issue at all. I have models that are just like the ones in your tests.py.

when I do this:

myobj = MyModel.objects.create(schema_name='Foo')

All seems to work but the Attribute that gets created in my Database only has a FK to Schema but not a FK to Choice. It has the Choice's title set to its value_text attribute but what if I later decide to change the Choice's name from Foo to Foobar? I would only want to change that once in my Choice table and not also for all Attribute objects, right?

Comments (2)

  1. Log in to comment