In fact, I don't know if I had to create a help model and associate
help message to one or more url/view or if I store messages directly
in url/view code.

2007/4/6, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>
> Just assign it as a variable _in_ the view and then pass it to the
> template that way?
>
> On Apr 6, 10:23 am, "David Larlet" <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I need to display an help message for each view of my app. Sometimes
> > the message can be shared between more than one view, sometimes not.
> > I'm sure someone have already solve this problem...
> >
> > For the moment, I try to pass the message in urls.py but it's a bit
> > ugly. Did you know if there is a smarter way of doing this?
> >
> > Thanks,
> > David
> >
> > ps: the help is not user-related so user.message_set is not an option.
>
>
> >
>

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