summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Hagander2013-08-24 13:11:37 +0000
committerMagnus Hagander2013-08-24 13:11:37 +0000
commit3f18edabfdc253d4816dabc2e04aa2f9faed5a7a (patch)
tree8b8652cef8ab1dd6fad24b092f81e41741b03d4b
parentffc96c0782b8192e777f35b58521ae9462bcfa95 (diff)
Some polishing on creation of new patches
-rw-r--r--pgcommitfest/commitfest/forms.py2
-rw-r--r--pgcommitfest/commitfest/views.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/pgcommitfest/commitfest/forms.py b/pgcommitfest/commitfest/forms.py
index b2ba48e..6d4c115 100644
--- a/pgcommitfest/commitfest/forms.py
+++ b/pgcommitfest/commitfest/forms.py
@@ -51,7 +51,7 @@ class PatchForm(forms.ModelForm):
class NewPatchForm(forms.ModelForm):
threadmsgid = forms.CharField(max_length=200, required=True, label='Specify thread msgid', widget=ThreadPickWidget)
- patchfile = forms.FileField(allow_empty_file=False, max_length=50000, label='or upload patch file', required=False, help_text='This may be supported sometime in the future, and would then autogenerate a mail to the hackers list. At such a time, the threadmsgid would no longer be required.')
+# patchfile = forms.FileField(allow_empty_file=False, max_length=50000, label='or upload patch file', required=False, help_text='This may be supported sometime in the future, and would then autogenerate a mail to the hackers list. At such a time, the threadmsgid would no longer be required.')
class Meta:
model = Patch
diff --git a/pgcommitfest/commitfest/views.py b/pgcommitfest/commitfest/views.py
index cec486e..ea81d64 100644
--- a/pgcommitfest/commitfest/views.py
+++ b/pgcommitfest/commitfest/views.py
@@ -172,7 +172,7 @@ def newpatch(request, cfid):
except Http404:
# Thread not found!
# This is a horrible breakage of API layers
- form._errors['threadmsgid'] = form.error_class(('Selected thread did not exist',))
+ form._errors['threadmsgid'] = form.error_class(('Selected thread did not exist in the archives',))
except Exception:
form._errors['threadmsgid'] = form.error_class(('An error occurred looking up the thread in the archives.',))
else: