Re: Extra_context question

2007-12-12 Thread bjornkri
Ignore that question! That was a bit stupid, the Notes are passed with the pages as page.note_set.all()... or something to that effect. On Dec 12, 12:34 pm, bjornkri <[EMAIL PROTECTED]> wrote: > I've a feeling I'm going about this completely wrong... > > So I have a model called Page, and each P

Extra_context question

2007-12-12 Thread bjornkri
I've a feeling I'm going about this completely wrong... So I have a model called Page, and each Page can have a number of Notes. Now, I'm displaying the pages with a generic view, and I thought I'd pass the Notes along as extra_context. It looks somewhat like this: (r'^pages/(?P\d+)/$', 'dj