F
F
fatalixan2020-06-25 11:34:57
Django
fatalixan, 2020-06-25 11:34:57

Django: outputting data from dependent tables?

Where it is possible to esteem about an output of the data from the connected tables? Implementation of pivot tables, etc. Examples, books. It is not entirely clear from the documentation, for example, how to implement such a sql query:

select * from mainapp_dairy, mainapp_auto, mainapp_department 
where mainapp_dairy.auto_id=mainapp_auto.id AND mainapp_auto.department_id=mainapp_department.id

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dr. Bacon, 2020-06-25
@bacon

I don't know what might be incomprehensible here https://docs.djangoproject.com/en/3.0/topics/db/qu...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question