Dear All,

More of a design question than a technical query...

I've got a page with multiple 'areas' - some static text, a wiki bit
and a 'marking' bit (via a form). I'd like to be able to only allow
people to enter a mark once, after which views of the page should say
"Thanks for the feedback".

The problem I have is that from the 'base' view, if I mark the page,
and then go back to base view, I can do this (using a simple
'marked':True in the context and an {% if marked %} tag in the
template). But if I then edit the wiki bit, I lose the fact that I've
also marked the page.....

I wondered if I could do this by passing the same context around, by
taking the request from one page and then passing it to the next; this
would (presumably) preserve the 'marked' bit. I tried this using
RequestContext, but it all went horribly wrong. So, please:

1: Any better ideas about how to do it
2: If the RequestContext idea is right, then could someone outline how
to do it?

Thanks,
Matt


--~--~---------~--~----~------------~-------~--~----~
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