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
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
2 matches
Mail list logo