Re: typeerror : context must be a dict rather than Context.

2017-12-12 Thread pradam programmer
c = template.Context({'now': now}) html = t.render(c) # Just pass {'now': now} instead of c On Tue, Dec 12, 2017 at 5:08 PM, Al Scham wrote: > Hi, > > I'm am new to django and am workng through the OverIQ tutoiral at : > https://overiq.com/django/1.10/loading-templates-in-django > > I have follo

typeerror : context must be a dict rather than Context.

2017-12-12 Thread Al Scham
Hi, I'm am new to django and am workng through the OverIQ tutoiral at : https://overiq.com/django/1.10/loading-templates-in-django I have followed the instructions to the letter but am getting the typeerror every time (see subject). Heres is my views.py from django.shortcuts import render fro