TabularInlineAdmin queries waaaaaayyyyyy too much.

2023-02-02 Thread Mark Jones
I have an admin with 1 row in the tabular inline. I have a custom queryset in class ExtensionTabularInlineFormSet(BaseInlineFormSet): def get_queryset(self) -> QuerySet[Extension]: qs = super().get_queryset() This gets called 20 times to display that one row. When you have more ro

Django .values() / SQL table fields wildcards

2023-02-02 Thread Thomas Schmidt
Hello everyone, I realize that it is a pretty exotic feature, but is there a way to = generate SQL from a query set so that the fields can be a wildcard, when = multiple joins exist. Given this query: SELECT * FROM table1 t1 JOIN table2 t2 on t1.id = t2.t1_id JOIN table3 t3 on t2.id = t3.t2_id W

Re: Django microservice authentication problem.

2023-02-02 Thread Mohammad Anarul
Thanks, guys The Django user group is very helpful. On Sun, Jan 29, 2023 at 12:54 PM Lauro Cesar de Oliveira (olarva) < ola...@gmail.com> wrote: > Hello there. > > First thing: show us the error. > > Getting status code 400? > > Probably a wrong setting of one of those (or maybe all): > > ALLOWED