congress-dashboard/congress_dashboard
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
..
api Merge "Use include_rules option for listing library policies" 2017-12-05 07:56:30 +00:00
datasources Removing deprecated functions xrange and cmp 2018-07-20 10:58:09 +05:30
enabled dashboard: View library policies 2017-10-31 14:40:24 +05:30
library Fix repeat ID problem in library policy display 2018-07-31 21:12:30 -07:00
monitoring Delete the unused LOG code 2018-07-20 10:26:26 +08:00
policies Merge "Remove the redundant "required=True"" 2018-07-25 02:38:50 +00:00
static/admin Move congress_dashboard folder to this project 2017-03-15 04:41:58 +00:00
templates/admin Move congress_dashboard folder to this project 2017-03-15 04:41:58 +00:00
test Fix test failures caused by django test runner 2018-06-13 20:24:19 +09:00
__init__.py Initial UI-cookiecutter commit 2017-03-14 09:20:55 +00:00
version.py Initial UI-cookiecutter commit 2017-03-14 09:20:55 +00:00