tickets: 2316
This data as json
id | created | changetime | last_pulled_from_trac | stage | status | component | type | severity | version | resolution | summary | description | owner | reporter | keywords | easy | has_patch | needs_better_patch | needs_tests | needs_docs | ui_ux |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2316 | 2006-07-09 18:20:22 | 2020-10-02 09:26:54 | 2022-03-06 03:25:40.117620 | Accepted | closed | contrib.contenttypes | Bug | Normal | dev | duplicate | GenericRelation and get_or_create do not work together | I think GenericRelation and get_or_create do not work together. Example: baz = Bar.objects.get_or_create(content_object=foo) You get an exception: Cannot resolve keyword 'content_object' into field | adrian | Rudolph | GenericRelation | 0 | 0 | 0 | 0 | 0 | 0 |