I've written a quick django app (mostly using the wonderful admin
interface) to store content for some courses I'm developing.

I have a number of models defined already: Modules, Objectives,
Questions, Labs, etc.

Basically a content module consists of multiple objectives (define X,
list Y, Use Z to do A, etc.), so I had the following:

class Objective(models.Model):
      module
models.ForeignKey(Module,edit_inline=models.STACKED,num_in_admin=1)

I didn't care *that* much about the order yet.

And then I had a question class that I could associate with a single
module and possibly multiple objectives.

class Question(models.Model):
    module = models.ForeignKey(Module)
    objectives = models.ManyToManyField(Objective)


Now a I was to create a Course class, but with the Course, the order
of the modules *definitely* matters and in different Course the module
might be in a different order.

I would guess somebody has already run into something like this
before?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to