mirror of
https://github.com/not-kennethreitz/convore.json.git
synced 2026-06-17 05:30:59 +00:00
1 line
749 B
JSON
1 line
749 B
JSON
[{"user_id": 23352, "stars": [], "topic_id": 46974, "date_created": 1319451238.266372, "message": "I'd like to add a reverse generic relationship to a model in a third-party app (let's say django.contrib.comments). If I subclass a proxy model from Comment and add `spam_reports = GenericRelation(SpamReport)`, I get `FieldError: Proxy model 'CommentProxy' contains model fields.`", "group_id": 81, "id": 2419749}, {"user_id": 2116, "stars": [], "topic_id": 46974, "date_created": 1319530187.53528, "message": "@akaihola A Proxy model doesn't hold any model definition, but are a way to \"filter\" model content. To extend a model there is two ways : multi-table inheritance or concrete model based on abstract ones.", "group_id": 81, "id": 2427928}] |