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, in order to get more
intimacy with its sintax and avoid these stupid errors...

Well, thanks again...

Diogo



On Jun 30, 2:20 am, Alex Gaynor <alex.gay...@gmail.com> wrote:
> On Tue, Jun 30, 2009 at 12:14 AM, diogobaeder <diogobae...@gmail.com> 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 have no data here, besides the context processor
> > data...
>
> > Thanks again!
>
> > Diogo
>
> > On Jun 30, 12:47 am, Alex Gaynor <alex.gay...@gmail.com> wrote:
> > > On Mon, Jun 29, 2009 at 10:43 PM, diogobaeder <diogobae...@gmail.com>
> > 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 <diogobae...@gmail.com> wrote:
> > > > > 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 <alex.gay...@gmail.com> wrote:
>
> > > > > > On Thu, Jun 25, 2009 at 10:42 PM, diogobaeder <
> > diogobae...@gmail.com>
> > > > 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 ofobjects.
>
> > > > > > > Considering that I have a "base.html" that has these menus, how
> > can I
> > > > > > > pass theobjectsto it, without having to fetch theobjectsin each
> > > > > > > view of the site?
>
> > > > > > > Thanks!
>
> > > > > > > Diogo
>
> > > > > > > On Jun 25, 8:39 pm, Diogo Baeder <diogobae...@gmail.com> wrote:
> > > > > > > > Hi,
>
> > > > > > > > I'm trying to set up aglobalmodel object list, to populate a
> > part
> > > > of a
> > > > > > > > menu in my site. How can I do it? How can I instantiate the
> > model
> > > > object
> > > > > > > > list, so that it is available to all the views?
>
> > > > > > > > Thanks!
>
> > > > > > > > Diogo
>
> > > > > > See my answer in this thread:
> > > >http://groups.google.com/group/django-users/browse_frm/thread/1656392.
> > ..
> > > > > > same techniques should work for you.
>
> > > > > > Alex
>
> > > > > > --
> > > > > > "I disapprove of what you say, but I will defend to the death your
> > > > right to
> > > > > > say it." --Voltaire
> > > > > > "The people's good is the highest law."--Cicero
>
> > > You're passing RequestCOntext.  WHat you need to do is pass
> > > RequestCOntext(request).
>
> > > Alex
>
> > > --
> > > "I disapprove of what you say, but I will defend to the death your right
> > to
> > > say it." --Voltaire
> > > "The people's good is the highest law."--Cicero
>
> I don't believe so.  There looks to be an issue with your
> TEMPLATE_CONTEXT_PROCESSORS settings.  Is everything in their a string
> pythonpath to a callable?
>
> Alex
>
> --
> "I disapprove of what you say, but I will defend to the death your right to
> say it." --Voltaire
> "The people's good is the highest law."--Cicero
--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to