mirror of
https://github.com/ansible/awx.git
synced 2026-03-23 20:05:03 -02: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:
@@ -297,6 +297,10 @@ class DashboardGraphView(APIView):
|
|||||||
count_hosts -= last_delta
|
count_hosts -= last_delta
|
||||||
last_delta = element[1]
|
last_delta = element[1]
|
||||||
dashboard_data['hosts'] = host_data[::-1]
|
dashboard_data['hosts'] = host_data[::-1]
|
||||||
|
|
||||||
|
# Setting it back
|
||||||
|
settings.USE_TZ = True
|
||||||
|
|
||||||
return Response(dashboard_data)
|
return Response(dashboard_data)
|
||||||
|
|
||||||
class ScheduleList(ListAPIView):
|
class ScheduleList(ListAPIView):
|
||||||
|
|||||||
Reference in New Issue
Block a user