@@veryacademy Thanks, but I was referring on how to join two models without foreign key using Django ORM. Like creating a query and mapping each related object from the other model
@veryacademy2 жыл бұрын
@@MartinoxxHD I would stick with a raw SQL query for this. Maybe this will help stackoverflow.com/questions/19590483/django-queryset-join-without-foreignkey
@veryacademy2 жыл бұрын
If not take a look at docs.djangoproject.com/en/4.0/ref/models/expressions/#subquery-expressions and docs.djangoproject.com/en/4.0/ref/models/expressions/#referencing-columns-from-the-outer-queryset
@veryacademy2 жыл бұрын
if not if not stackoverflow.com/questions/39291372/django-orm-join-without-foreign-keys-and-without-raw-queries
@akshaykolte88 Жыл бұрын
thanks
@Coden692 жыл бұрын
please tell are you alright and when will you come back?
@veryacademy2 жыл бұрын
Thank you. I am not going away that is for sure. I started recording last week again, just getting back into the flow of things. I will as I normally do get a few different videos out to get some practice in again and sharpen the workflow then get back on course. I am working towards 3 courses, DRF, ORM and level 2 and Django Core.