From ea87160c397fe1daf63851f0ed0be146bea79196 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Fri, 23 Mar 2012 20:16:58 -0500 Subject: releng: ensure links are valid for option names with spaces Can't believe this went unnoticed for so long. Signed-off-by: Dan McGee --- releng/views.py | 1 + 1 file changed, 1 insertion(+) (limited to 'releng') diff --git a/releng/views.py b/releng/views.py index 2b3d0936..d8ea59f9 100644 --- a/releng/views.py +++ b/releng/views.py @@ -81,6 +81,7 @@ def calculate_option_overview(field_name): is_rollback = field_name.startswith('rollback_') option = { 'option': model, + 'field_name': field_name, 'name': model._meta.verbose_name, 'is_rollback': is_rollback, 'values': [] -- cgit v1.2.3-54-g00ecf