BRUHHH NOOO, I HAVE TO GENERATE A NO OF SELECT BOXES , AND HAVE MANY SELECT 
BOXES WILL GENERATED COMES DIRECTLY FROM THE DATABSE


On Saturday, October 9, 2021 at 2:40:29 PM UTC+5:30 f.apo...@gmail.com 
wrote:

> On Friday, October 8, 2021 at 6:14:19 PM UTC+2 dhruv...@gmail.com wrote:
>
>> Ik range function can be added but I also mentioned that there are some 
>> cases range function can't be direct generated from the view like this  
>> https://github.com/Tanzanite-lpu/tgl-2.0.0/blob/ddce5ef87a4b5248b8cb8cd5fa3df4adb3f00b31/main/templates/groups.html#L36
>>
>
> Why was "|range" added there? You are not using {{ j }} there at all but 
> {{ forloop.counter }}. There doesn't seem to be any reason to use "|range" 
> there. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/73924279-4cff-4070-b57c-33bf861307a0n%40googlegroups.com.
  • Why... Dhruva Shaw
    • ... 'Adam Johnson' via Django developers (Contributions to Django itself)
      • ... Dhruva Shaw
      • ... Dhruva Shaw
        • ... Florian Apolloner
          • ... Dhruva Shaw
          • ... Dhruva Shaw
            • ... 'Adam Johnson' via Django developers (Contributions to Django itself)

Reply via email to