Use proper mapping in SQLAlchemy/Django.