Skip to content

Conversation

blturner
Copy link
Contributor

This introduces support for GenericRelation fields.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This obviously needs to not be hardcoded. It seems like exposing this field might require it's own field where we specify the name of the attribute to look up. Otherwise, I'm wondering if we're better off just hiding this attribute from the response data.

@blturner
Copy link
Contributor Author

Ah, tests are failing on this branch because I'm using Django 1.7 locally and django.contrib.contenttypes.fields doesn't exist pre-1.7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant