[Fixed]-Python3 django1.8 mysql5.5 gives page not found (404) while sqlite works fine

1👍

USE_TZ = False, Everything is ok.

When USE_TZ = True it stores the time based on time zone specified in settings.py i.e if TIME_ZONE = 'UTC' it stores in UTC and while displaying it templates it will be in local zone.

The reason for error 404 is the date in URL is not matching with right date due to timezone settings.To avoid this you can set USE_TZ = False

refer:
Difference between USE_TZ = False and USE_TZ = True

Leave a comment