fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into view-refactor
[redakcja.git]
/
apps
/
api
/
forms.py
diff --git
a/apps/api/forms.py
b/apps/api/forms.py
index
3c393a8
..
af1b6b5
100644
(file)
--- a/
apps/api/forms.py
+++ b/
apps/api/forms.py
@@
-10,7
+10,7
@@
from django import forms
class MergeRequestForm(forms.Form):
# should the target document revision be updated or shared
class MergeRequestForm(forms.Form):
# should the target document revision be updated or shared
- type = forms.ChoiceField(choices=(
'update', 'share')
)
+ type = forms.ChoiceField(choices=(
('update', 'Update'), ('share', 'Share'))
)
# which revision to update/share
target_revision = forms.RegexField('[0-9a-f]{40}')
# which revision to update/share
target_revision = forms.RegexField('[0-9a-f]{40}')