Re: Why can't range function be added in templates?

2021-10-10 Thread Dhruva Shaw
ys nvm* On Saturday, October 9, 2021 at 4:15:11 PM UTC+5:30 Adam Johnson wrote: > Please don't use shouty capitals or angry slang like "Bruh no" on this > mailing list. This mailing list is for calm professional discussion. > > On Sat, 9 Oct 2021 at 11:35, Dhruva Sha

Re: Why can't range function be added in templates?

2021-10-09 Thread Dhruva Shaw
Please don't use shouty capitals or angry slang like "Bruh no" on this > mailing list. This mailing list is for calm professional discussion. > > On Sat, 9 Oct 2021 at 11:35, Dhruva Shaw wrote: > >> SINCE THE NO OF SELECT BOXES THAT I HAVE GENERATE COMES DIREC

Re: Why can't range function be added in templates?

2021-10-09 Thread Dhruva Shaw
SINCE THE NO OF SELECT BOXES THAT I HAVE GENERATE COMES DIRECTLY FROM THE DATABSE, THUS RANGE FUNCTION IS NEEDED! 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 b

Re: Why can't range function be added in templates?

2021-10-09 Thread Dhruva Shaw
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 rang

Re: Why can't range function be added in templates?

2021-10-08 Thread Dhruva Shaw
to ask users to add it when required. > > On Sat, 2 Oct 2021 at 12:24, Dhruva Shaw wrote: > >> I did read this comment >> https://code.djangoproject.com/ticket/13088#comment:1 and it says its >> more like adding programming to templates! :( >> >> Isn't

Re: Why can't range function be added in templates?

2021-10-08 Thread Dhruva Shaw
, adding range() for a project is a few lines of code with simple_tag: > https://docs.djangoproject.com/en/3.2/howto/custom-template-tags/#simple-tags. > > So it doesn't seem like much to ask users to add it when required. > > On Sat, 2 Oct 2021 at 12:24, Dhruva S

Why can't range function be added in templates?

2021-10-02 Thread Dhruva Shaw
I did read this comment https://code.djangoproject.com/ticket/13088#comment:1 and it says its more like adding programming to templates! :( Isn't whole template a programming (made up of programming blocks)?? I mean there is a for loop and all , also there are some cases where you need a numer