Remove an unused and duplicate import in models.py

datetime is not used in models.py
settings is imported twice, remove the second occurrence.

Also addresses #746.

All tests pass with changes.