Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (14 sloc) 475 Bytes
'''
Created on Oct 6, 2011
@author: tim
'''
from django import forms
query_choices = (
('labels', 'Linked by labels'),
('colabs', 'Collaborations'),
('comps', 'On compilations together')
)
class requestForm(forms.Form):
url = forms.URLField(help_text="Enter the URL of a discogs artist, for example: http://www.discogs.com/artist/Frankie+Knuckles")
year = forms.IntegerField(min_value=1000, max_value=2012)
#query = forms.ChoiceField(query_choices)