Thursday, November 14, 2019

Re: django passing a parameter for a view in a url produces Error: Circuitinfotable matching query does not exist.

There was no change after adding |safe after the value within {{}}
example: <a href="/viewLit/{{ circuit.circuitid|safe }}" target="_blank" class="view-item" title="View">View</a>

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/e023361a-1544-4095-ab6d-53461996947b%40googlegroups.com.

No comments:

Post a Comment