checkpoint 1: models, management commands and migrations