Handle additional call modes and call cases for wgcharter.views.submit.
- Legacy-Id: 4555
This commit is contained in:
parent
fa35a8f8fe
commit
22c3ae22b9
|
@ -288,7 +288,10 @@ class UploadForm(forms.Form):
|
|||
|
||||
@role_required('Area Director','Secretariat')
|
||||
def submit(request, name=None, acronym=None, option=None):
|
||||
if acronym and not name:
|
||||
if name:
|
||||
if not name.startswith('charter-'):
|
||||
name = "charter-ietf-" + name
|
||||
elif acronym:
|
||||
name = "charter-ietf-" + acronym
|
||||
charter = get_object_or_404(Document, type="charter", name=name)
|
||||
wg = charter.group
|
||||
|
|
Loading…
Reference in a new issue