Re: Add variable value in render field in django template

2020-11-23 Thread Naresh Jonnala
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+unsubscr...@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.


Add variable value in render field in django template

2020-11-20 Thread Rajshree Some
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+unsubscr...@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.