2👍
✅
Change imports to this:
from django.utils import timezone
from datetime import timedelta
And it will work better. Django also uses datetime.
- [Django]-How to use uwsgi restart django
- [Django]-How to setup Django on XMPP on Windows XP
- [Django]-Get the path to Django itself
Source:stackexchange.com