I am having problems with the Django application after deploying it. I am using Apache + mod-wsgi on an ubuntu server. Some time after the server reboots, time goes back, this is incorrect after about 10 hours. I made a Django view that looks like this:
def servertime(): return HttpResponse( datetime.now() )
and after rebooting the server and checking the URL, which shows that it looks okay. Then at some point he sometimes gives the correct time, and sometimes not, and then always gives the wrong time. Server time is all the same.
Any clues? I was looking for him with no luck.
python django datetime apache mod-wsgi
Nixarn
source share