add comments to db.py and settings.py