Skip to content
Snippets Groups Projects

bugfix: removed Project.nested_fields

Merged Calum Mackervoy requested to merge nested-fields-fix into master

When nested_fields is set on the Model.Meta it overrides the default behaviour of fetching these from Project.nested.fields()

the output from shell is as follows:

>>> Project.nested.fields()
['customerInvoices', 'members', 'communities', 'freelancerInvoices']

customer I believe is correctly excluded because it's a ForeignKey rather than a toMany relationship

Edited by Calum Mackervoy

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading