git.ithinksw.org
/
philo.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Added search.result_template to the context for search views with ajax enabled.
[philo.git]
/
contrib
/
sobol
/
forms.py
1
from django import forms
2
from philo.contrib.sobol.utils import SEARCH_ARG_GET_KEY
3
4
5
class BaseSearchForm(forms.BaseForm):
6
base_fields = {
7
SEARCH_ARG_GET_KEY: forms.CharField()
8
}
9
10
11
class SearchForm(forms.Form, BaseSearchForm):
12
pass