mirror of
https://github.com/ansible/awx.git
synced 2026-01-15 03:40:42 -03:30
Fix a bug where we would clear the use timezone directive for the rest of the life of the apache process
This commit is contained in:
parent
6813a082f0
commit
a9b0faf979
@ -297,6 +297,10 @@ class DashboardGraphView(APIView):
|
||||
count_hosts -= last_delta
|
||||
last_delta = element[1]
|
||||
dashboard_data['hosts'] = host_data[::-1]
|
||||
|
||||
# Setting it back
|
||||
settings.USE_TZ = True
|
||||
|
||||
return Response(dashboard_data)
|
||||
|
||||
class ScheduleList(ListAPIView):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user