git.ithinksw.org
/
philo.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fixed a sobol bug which was causing search views to always use all available searches...
[philo.git]
/
contrib
/
penfield
/
validators.py
1
from django.core.exceptions import ValidationError
2
3
4
def validate_pagination_count(x):
5
if x not in range(1, 10000):
6
raise ValidationError('Please enter an integer between 1 and 9999.')