Updated models.py to use timezone safe datetime

Updated models.py to use timezone safe datetime in django if available, otherwise fallback to the standard datetime.