source: subversion/sites/other/tilesAtHome_tahngo/requests/forms.py @ 9728

Last change on this file since 9728 was 9509, checked in by spaetz, 12 years ago

also ask for client version (not used yet)

File size: 439 bytes
Line 
1from django import forms
2from tah.requests.models import Request,Upload
3
4CreateForm = forms.form_for_model(Request)
5UploadForm = forms.form_for_model(Upload)
6
7class ClientAuthForm(forms.Form):
8     user = forms.CharField()
9     passwd = forms.CharField()
10
11class TakeRequestForm(forms.Form):
12     version = forms.CharField(required=False)
13     layers = forms.CharField(required=False)
14     layerspossible = forms.CharField(required=False)
15
Note: See TracBrowser for help on using the repository browser.