TemplateSyntaxError: 'with' expected with atleast one variable assignment
<p>I am trying to send the data of a <strong>meeting</strong> object from template to view via <strong>GET</strong> method. To give the attribute <strong>meeting.date</strong> a simpler alias i.e <strong>date</strong> I am using the <strong>with</strong> template tag. But it ends up with a TemplateSyntaxError. </p>

<p><strong>urls.py</strong></p>

<pre><code>url(r'^meeting/$', meeting_display, name="meeting"),
</code></pre>

<p><strong>views.py</strong></p>

<pre><code>def meeting_display(request):
    date = request.GET.get('date')

    ob_mem = memo.objects.get(subject='Meeting', rcv_username=username, date=date)
    ob_mee = memo.meeting_set.all()

    variables = RequestContext(request, {
        'meeting': ob_mee,
    })
    return render_to_response('meeting_display.html', variables)
</code></pre>

<p><strong>meeting_display.html</strong></p>

<pre><code>{% for meeting in meeting_f %}
  &lt;div class="list"&gt;
    {% with date = meeting.date %}
      &lt;a href="{% url meeting %}?date={{date}}"&gt;{{ date }}:{{meeting.venue}}{{meeting.time}}&lt;/a&gt;
    {% endwith %}
  &lt;/div&gt;
{% endfor %}
</code></pre>