From e27d9f41e1a7f5b1e7008e70ea0cb8c470c9bfde Mon Sep 17 00:00:00 2001 From: David Ormsbee Date: Wed, 1 Feb 2012 17:46:19 -0500 Subject: [PATCH] warning message so people know they have to use migrations for model changes --- courseware/models.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/courseware/models.py b/courseware/models.py index c44b208fe3..fd88bea16c 100644 --- a/courseware/models.py +++ b/courseware/models.py @@ -1,3 +1,14 @@ +""" +WE'RE USING MIGRATIONS! + +If you make changes to this model, be sure to create an appropriate migration +file and check it in at the same time as your model changes. To do that, + +1. Go to the mitx dir +2. ./manage.py schemamigration courseware --auto description_of_your_change +3. Add the migration file created in mitx/courseware/migrations/ + +""" import uuid from django.db import models