From 8f6a31e7bcb1ee7605f988adebe705594f43471b Mon Sep 17 00:00:00 2001 From: artunit Date: Wed, 19 Nov 2008 22:28:15 +0000 Subject: [PATCH] git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@29 6d9bc8c9-1ec2-4278-b937-99fde70a366f --- conifer/syrup/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/conifer/syrup/models.py b/conifer/syrup/models.py index ba268eb..15acb0a 100644 --- a/conifer/syrup/models.py +++ b/conifer/syrup/models.py @@ -83,6 +83,7 @@ class Course(m.Model): """An offering of a course.""" # some courses may be ad-hoc and have no code? code = m.CharField(max_length=64, blank=True, null=True) + department = m.ForeignKey(Department) term = m.ForeignKey(Term) title = m.CharField(max_length=1024) # Enrol-codes are used for SIS integration. -- 2.11.0