mirror of
https://github.com/ansible/awx.git
synced 2026-02-03 18:48:12 -03:30
Fix lingering import statement, add context processor to expose settings to templates.
This commit is contained in:
6
lib/ui/context_processors.py
Normal file
6
lib/ui/context_processors.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from django.conf import settings as django_settings
|
||||
|
||||
def settings(request):
|
||||
return {
|
||||
'settings': django_settings,
|
||||
}
|
||||
Reference in New Issue
Block a user