Yay!!! It works like magic! Would anyone be so kind as to reveal the mysteries of this "Context ()" function? I'd love to know what this code is doing and why it fixes my problem.
Thanks again everyone -- especially you Adrian H. -- you're too much! :-D Sean On Aug 18, 2006, at 8:34 AM, Adrian Holovaty wrote: > > On 8/17/06, Sean Schertell <[EMAIL PROTECTED]> wrote: >> --- modulalib/views.py --- >> http://rafb.net/paste/results/fzWg1g26.html > > The problem is in the staticpages() function. Specifically, the > default value for the context_processor argument is None -- which > means you're passing None to t.render(). Instead, t.render() needs to > be passed a Context object. Add these lines as the first lines within > the function: > > if context_processors is None: > context_processors = Context() > > Also, make sure to do a "from django.template import Context" atop > the module. > > Adrian > > -- > Adrian Holovaty > holovaty.com | djangoproject.com > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---