2 # Parent 121bbfe120be3007f5e04611dbc27038abafcce8
4 Index: doc-backend/openacademy/course.py
5 ===================================================================
6 --- doc-backend.orig/openacademy/course.py 2014-08-22 17:02:07.363103425 +0200
7 +++ doc-backend/openacademy/course.py 2014-08-22 17:02:07.359103425 +0200
9 'openacademy.session', 'course_id', string="Session")
12 + _sql_constraints = [
13 + ('name_description_check',
14 + 'CHECK(name != description)',
15 + "The title of the course should not be the description"),
19 + "The course title must be unique"),
22 class Session(models.Model):
23 _name = 'openacademy.session'