Remove trailing space in models.py
Move settings models to tbe top of the file.