mirror of
https://github.com/netbox-community/netbox.git
synced 2026-01-23 12:08:43 -06:00
19615 log if duplicated params
This commit is contained in:
@@ -158,7 +158,7 @@ def static_with_params(path, **params):
|
||||
existing_params = parse_qs(parsed.query)
|
||||
|
||||
# Check for duplicate parameters and log warnings
|
||||
logger = logging.getLogger(__name__)
|
||||
logger = logging.getLogger('netbox.utilities.templatetags.tags')
|
||||
for key, value in params.items():
|
||||
if key in existing_params:
|
||||
logger.warning(
|
||||
|
||||
Reference in New Issue
Block a user