Oh, man... got the bug, and it's even sillier than the previous... it
was single-element tuple, but without the comma to mark it as a tuple,
and not a string... :-(
Sorry, sorry, sorry... a million sorries to you for taking your time,
Alex... :-(
Lesson learned: to program a lot more in Python,
On Tue, Jun 30, 2009 at 12:14 AM, diogobaeder wrote:
>
> Oops... sorry... silly error... :-P
>
> Now, I'm passing the RequestContext instance correctly, but I get a
> different error:
> http://dpaste.com/61430/
>
> Is it because I'm passing None as the second argument for
> render_to_response? I
Oops... sorry... silly error... :-P
Now, I'm passing the RequestContext instance correctly, but I get a
different error:
http://dpaste.com/61430/
Is it because I'm passing None as the second argument for
render_to_response? I have no data here, besides the context processor
data...
Thanks again
On Mon, Jun 29, 2009 at 10:43 PM, diogobaeder wrote:
>
> Alex,
>
> I'm trying to use the context processors, but I'm getting the
> following error:
> http://dpaste.com/61410/
>
> Any idea of what it might be?
>
> Thanks!
>
> Diogo
>
>
>
> On Jun 26, 11:56 am, diogobaeder wrote:
> > Thanks, Alex,
Alex,
I'm trying to use the context processors, but I'm getting the
following error:
http://dpaste.com/61410/
Any idea of what it might be?
Thanks!
Diogo
On Jun 26, 11:56 am, diogobaeder wrote:
> Thanks, Alex, I'll give a look at these TEMPLATE_CONTEXT_PROCESSORS to
> see if they solve my
Thanks, Alex, I'll give a look at these TEMPLATE_CONTEXT_PROCESSORS to
see if they solve my problem... thanks a lot! :-)
Diogo
On Jun 26, 12:44 am, Alex Gaynor wrote:
> On Thu, Jun 25, 2009 at 10:42 PM, diogobaeder wrote:
>
> > Let me explain myself better: I have some menus in my site, and
On Thu, Jun 25, 2009 at 10:42 PM, diogobaeder wrote:
>
> Let me explain myself better: I have some menus in my site, and they
> appear all along the front-end pages. One of these menus must have a
> list of objects.
>
> Considering that I have a "base.html" that has these menus, how can I
> pass
Let me explain myself better: I have some menus in my site, and they
appear all along the front-end pages. One of these menus must have a
list of objects.
Considering that I have a "base.html" that has these menus, how can I
pass the objects to it, without having to fetch the objects in each
view
8 matches
Mail list logo