Skip to content
Find file
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')
Something went wrong with that request. Please try again.