congress-dashboard/congress_dashboard/library
Eric K 7570aa4d41 Fix repeat ID problem in library policy display
In library policy dashboard, sometimes the same rule is
repeated multiple times, overwriting some subsequent rules.
For example, in Policy Details: TagBasedNetworkSecurityZone,
the first two rules displays as

security_zone_tags('demo_zone'),
security_zone_tags('demo_zone')

rather than the correct

security_zone_tags('demo_zone'),
security_zone_tags('production_zone').

This patch fixes the issue by making sure a distinct ID is
assigned to each rule for django.

Change-Id: I20d758ec4dffeaecf60f6c60c401bb08e359def5
Closes-Bug: 1784770
2018-07-31 21:12:30 -07:00
..
templates/library List rules for library policies 2017-11-01 16:28:50 +05:30
__init__.py dashboard: View library policies 2017-10-31 14:40:24 +05:30
panel.py dashboard: View library policies 2017-10-31 14:40:24 +05:30
tables.py Django 2.0 support 2018-05-11 00:26:15 +09:00
urls.py List rules for library policies 2017-11-01 16:28:50 +05:30
views.py Fix repeat ID problem in library policy display 2018-07-31 21:12:30 -07:00