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
Source:stackexchange.com