Skip to content

Commit 22c3ae2

Browse files
committed
Handle additional call modes and call cases for wgcharter.views.submit.
- Legacy-Id: 4555
1 parent fa35a8f commit 22c3ae2

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

ietf/wgcharter/views.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,10 @@ def save(self, wg, rev):
288288

289289
@role_required('Area Director','Secretariat')
290290
def submit(request, name=None, acronym=None, option=None):
291-
if acronym and not name:
291+
if name:
292+
if not name.startswith('charter-'):
293+
name = "charter-ietf-" + name
294+
elif acronym:
292295
name = "charter-ietf-" + acronym
293296
charter = get_object_or_404(Document, type="charter", name=name)
294297
wg = charter.group

0 commit comments

Comments
 (0)