Monday, November 23, 2020

Re: Add variable value in render field in django template

Based on URL structure, find suitable template tag to move forwered.

https://docs.djangoproject.com/en/3.1/ref/templates/builtins/#url

On Friday, November 20, 2020 at 8:34:08 PM UTC+5:30 rajshre...@gmail.com wrote:
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/40b9f4b9-af60-41e5-94bd-785f9135cdf1n%40googlegroups.com.

No comments:

Post a Comment