Remove import settings.py from the database model