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:
Matthew Jones 2014-07-07 13:09:26 -04:00
parent 6813a082f0
commit a9b0faf979

View File

@ -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):