Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

F/#51 filter submissions by assignment #64

Merged
merged 5 commits into from
Mar 23, 2013

Conversation

bogdanciobanu
Copy link
Collaborator

No description provided.

@@ -10,6 +10,10 @@ class SubmissionResource(ModelResource):
assignment_id = fields.IntegerField(attribute='assignment_id')

class Meta:
filtering = {
'assignment_id': ALL,
'id': ALL
Copy link
Owner

Choose a reason for hiding this comment

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

Why do you need this? AFAIK, it is provided by default in tastypie via GET detail.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Removed it.

@ghost ghost assigned aismail Mar 23, 2013
@aismail
Copy link
Owner

aismail commented Mar 23, 2013

LGTM

aismail pushed a commit that referenced this pull request Mar 23, 2013
…nment

F/#51 filter submissions by assignment
@aismail aismail merged commit 6d8fffc into master Mar 23, 2013
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.

None yet

2 participants