Friday, November 20, 2020

Add variable value in render field in django template

Hi Users,
I have a value in variable occurence counter and I want to pass this value in this render field .Can anyone help it?

{% render_field class+='form-control' data-id="occurence_counter " %}

--
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/3f593db4-e68b-45f7-82e1-047d05993dddn%40googlegroups.com.

No comments:

Post a Comment