We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 849e92d commit 737996fCopy full SHA for 737996f
1 file changed
ietf/wginfo/views.py
@@ -24,7 +24,7 @@ def wg_dir(request):
24
return render_to_response('wginfo/wg-dir.html', {'wg_list': wgs}, RequestContext(request))
25
26
def collect_wg_info(acronym):
27
- wg = (IETFWG.objects.get(group_acronym__acronym=acronym))
+ wg = get_object_or_404(IETFWG, group_acronym__acronym=acronym)
28
return {'wg': wg}
29
30
def wg_charter(request, wg="1"):
0 commit comments