Re: FK to an Abstract class? Alternative?

2009-12-16 Thread Justin Steward
On Wed, Dec 16, 2009 at 5:21 AM, Victor Hooi wrote: >    class ExaminationRecord(models.Model): >        assessment = models.OneToOneField(AssessmentTask) I don't particularly understand the point of this class? ~Justin -- You received this message because you are

Re: FK to an Abstract class? Alternative?

2009-12-15 Thread Maksymus007
On Wed, Dec 16, 2009 at 6:21 AM, Victor Hooi wrote: > heya, > > We have a small project where we need to store a series of exam > results for students. > > Some exams receive a grade out of 100, others are simply a pass/fail, > while others are given a one-word grade (e.g.

FK to an Abstract class? Alternative?

2009-12-15 Thread Victor Hooi
heya, We have a small project where we need to store a series of exam results for students. Some exams receive a grade out of 100, others are simply a pass/fail, while others are given a one-word grade (e.g. pass, fail, credit, distinction). In a sense, they all do map to a 0 to 100 scale (e.g.