DEV Community

Gilbert Ngeno
Gilbert Ngeno

Posted on

TemplateSyntaxError: 'with' expected with atleast one variable assignment

I am trying to send the data of a meeting object from template to view via GET method. To give the attribute meeting.date a simpler alias i.e date I am using the with template tag. But it ends up with a TemplateSyntaxError.

urls.py

url(r'^meeting/$', meeting_display, name="meeting"),

views.py

def meeting_display(request):
    date

Top comments (0)