Commit 1fcd7d08 authored by Stauros Kroustouris's avatar Stauros Kroustouris

fix message formatting

parent 4296d788
......@@ -149,5 +149,5 @@ def check_if_rule_exists(fields):
destination=IPNetwork(fields.get('destination')).compressed,
)
for route in routes:
return _('Rule exists: %s' % reverse('edit-route', args=[route.name]))
return _('Rule exists with id %s and status %s. Please edit it.' % (route.id, route.status))
return False
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment