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

2021-10-09 Thread Florian Apolloner
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/ddce5ef87a4b5248b8cb8cd

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-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 'Adam Johnson' via Django developers (Contributions to Django itself)
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 DIRECTLY FROM THE > DATABSE, THUS RANGE FUNCTION I

Autocomplete Foreign Keys by default in Admin

2021-10-09 Thread Vasanth Mohan
The admin page for any object becomes ridiculously slow (upto 10s) when the object and its multiple inlines have foreign keys. The latency just disappears after i added autocomplete for each one manually. Is there any reason why foreign keys are not autocomplete by default ? Will the devs be in

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

2021-10-09 Thread Benny
FWIW The template system always seemed like an added bonus to the project. Which is fine because, personally, I’d rather more effort go into the guts than the lipstick anyway. It’s easy enough to build custom filters, or even exploit some of the quirks of the system… so much so that asking the

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

2021-10-09 Thread Dhruva Shaw
Yup I agree that template system is added bonus, then why not more power to it? I do believe that it could be easily added but there are many beginners out who dont know how to implement and there many complex solutions present over the inetrnet. well ` j.squad_entry_members` is no (dataype in

Re: Django ORM query syntax enhancement

2021-10-09 Thread Asif Saif Uddin
Hi Adam, I agree with some of your points. however djngo orm query syntax is the main pain point for anyone new to django orm. The reason those packages are not widely used is because most people dont know about them and not about this DEP. And most new users mainly end up learning built in q