On Sep 30, 7:50 pm, Karen Tracey wrote:
> On Wed, Sep 30, 2009 at 6:28 PM, willfe wrote:
>
> > *sigh* I was just about to post this as-is, and tried one more thing,
> > which fixed it. I hadn't added context_instance=RequestContext
> > (request) to the end of the render_to_response() return in t
On Wed, Sep 30, 2009 at 6:28 PM, willfe wrote:
>
> *sigh* I was just about to post this as-is, and tried one more thing,
> which fixed it. I hadn't added context_instance=RequestContext
> (request) to the end of the render_to_response() return in the
> specific method I was working with. I'd adde
On Sep 30, 5:43 pm, Karen Tracey wrote:
> On Wed, Sep 30, 2009 at 4:14 PM, willfe wrote:
> > The infuriating part is the debug toolbar actually *shows the message*
> > in the template context, in an attribute called 'messages'.
>
> If this template snippet is contained in a child template, is it
On Wed, Sep 30, 2009 at 4:14 PM, willfe wrote:
>
> Greetings!
>
> I'm trying to follow through the example shown at
> http://docs.djangoproject.com/en/dev/topics/auth/#messages to pass one
> or more messages to a user when saving a form. I'm using the 1.1
> release.
>
> I've made sure the view ca
Greetings!
I'm trying to follow through the example shown at
http://docs.djangoproject.com/en/dev/topics/auth/#messages to pass one
or more messages to a user when saving a form. I'm using the 1.1
release.
I've made sure the view calls:
request.user.message_set.create(message = u"Hi there!")
a
5 matches
Mail list logo