Skip to content
This repository has been archived by the owner on Mar 24, 2021. It is now read-only.

Commit

Permalink
Adding comment to PeriodQueryValidator class
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-gravgaard committed Jan 29, 2014
1 parent 0b12c94 commit 6a1ccd7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backdrop/read/validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ def validate(self, request_args, context):
# When executing a grouped periodic query, the limit is
# applied to the list of groups rather than the time series
# inside them
self.add_error("A grouped period query cannot be limited")
self.add_error("A period query can only be limited if it is "
"grouped - please add 'group_by'")


class PositiveIntegerValidator(Validator):
Expand Down

0 comments on commit 6a1ccd7

Please sign in to comment.