mirror of
https://github.com/ansible/awx.git
synced 2026-05-13 04:17:36 -02:30
Add Tower version to query string for minified CSS/JS.
This commit is contained in:
@@ -1,9 +1,18 @@
|
||||
# Copyright (c) 2014 AnsibleWorks, Inc.
|
||||
# All Rights Reserved.
|
||||
|
||||
# Django
|
||||
from django.conf import settings as django_settings
|
||||
|
||||
# Ansible Tower
|
||||
from awx.main.utils import get_awx_version
|
||||
|
||||
def settings(request):
|
||||
return {
|
||||
'settings': django_settings,
|
||||
}
|
||||
|
||||
def version(request):
|
||||
return {
|
||||
'version': get_awx_version(),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user