Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
8 lines (5 sloc) 425 Bytes
from django import forms
class PatchForm(forms.Form):
patchFile = forms.FileField(required = False, label = r'Upload Patch', help_text = r'Only unified diff with .patch extension')
#patchText = forms.Textarea(required = False, label = r'Insert Patch text', help_text = r'Paste Unified diff here')
#patchType = forms.ChoiceField(['Unified', 'Something Else'], required = False, label = r'Type of patch')