Switch to unified view
a/OSSEval/OpenSourceProject/forms.py | b/OSSEval/OpenSourceProject/forms.py | ||
---|---|---|---|
1 | # This Source Code Form of OSSEval is subject to the terms of the GNU AFFERO |
||
2 | # GENERAL PUBLIC LICENSE, v. 3.0. If a copy of the AGPL was not |
||
3 | # distributed with this file, You can obtain one at http://www.gnu.org/licenses/agpl.txt |
||
4 | # |
||
5 | # OSSeval is powered by the SOS Open Source AGPL edition. |
||
6 | # The AGPL requires that you do not remove the SOS Open Source attribution and copyright |
||
7 | # notices from the user interface (see section 5.d below). |
||
8 | # Commercial licenses are available and do not require any SOS Open Source attributions |
||
9 | # or visible copyright notices but they are not permitted under this license. |
||
10 | |||
11 | # OSSEval Copyright 2014 Bitergium SLL |
||
12 | # SOS Open Source Copyright 2012 Roberto Galoppini |
||
13 | # Author: Davide Galletti |
||
14 | |||
15 | |||
1 | from django import forms |
16 | from django import forms |
2 | from django.forms.widgets import RadioSelect |
17 | from django.forms.widgets import RadioSelect |
3 | 18 | ||
4 | class SearchForm(forms.Form): |
19 | class SearchForm(forms.Form): |
5 | TARGETS = [['0','All forges'],['5','FSF'],['2','FM'],['12','GC'],['11','GH'],['100','Ohloh']] |
20 | TARGETS = [['0','All forges'],['5','FSF'],['2','FM'],['12','GC'],['11','GH'],['100','Ohloh']] |