Presentation model spec

6 views
Skip to first unread message

Barry Rowlingson

unread,
May 5, 2013, 12:55:57 PM5/5/13
to pinax-s...@googlegroups.com
I'm trying to get my head round the model of Presentations, Slots, SlotRooms etc. How much of this is right:

 * A Presentation has a 1-1 field with Slot.

 * A Slot has the start/finish time.

 * A Slot can be associated with a number of Rooms by way of the SlotRoom model. Hence a Presentation can be in one or more Rooms. I guess this is to facilitate splitting a talk across two rooms via video links.

 * To schedule parallel presentations, I need to create a Slot for each Presentation in each of the parallel sessions.

 * So if I have 8 parallel sessions in Room 1 to Room 8 from 10:00 to 11:30, and each session has three 30-minute Presentations, I make eight Slot objects from 10:00 to 10:30, eight from 10:30 to 11:00 and eight from 11:00 to 11:30.

 * My Slot dropdowns in the admin now have 24 Slots, and I can't tell any of the eight apart from each other [bug?]. When I get to 180 Presentations and 180 Slots this is going to get very awkward. [Is there a better way? Maybe redefine __unicode__ method to help?]

 * Each of those 24 Slot objects has one associated SlotRoom object to locate the sessions in Room 1 to Room 8.

 * There's no explicit grouping of the three talks within each of my sessions - its implicit in the contiguous time slot and same-room parts of the database though.

 * There's no facility for assigning Presentations to a Theme (I see no Theme model class).

 * I could add Theme and PresentationTheme model classes to implement that. Then I could tweak templates to display presentations thematically. Or I could use Tags.

I've managed to glean most of the above from looking at the code, I can't find any docs on the Presentation model structure anywhere. If this is all correct maybe I'll write a presentations.rst file for the docs folder...

Barry

Reply all
Reply to author
Forward
0 new messages