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.
@@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
@@MartinoxxHD I would stick with a raw SQL query for this. Maybe this will help stackoverflow.com/questions/19590483/django-queryset-join-without-foreignkey
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
Quality of videos is great Loved it
This is so simple! ❤
I spent like an hour on stackoverflow and documentation, trying to figure out what I can actually do. Lol
Just loved it!! thank you for such an amazing explanation
Hey how to render these choice list on frontend? List of choices
Using Django templates, if you create a form automatically it will default to showing you a dropdown selection.
@@veryacademy what about in django rest framework?
Great tutorial, thanks.
please tell are you alright and when will you come back?
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.
@@veryacademy thanks waiting
Hello! Is there a way to inner join two models without foreign key?
stackoverflow.com/questions/5771190/why-is-a-primary-foreign-key-relation-required-when-we-can-join-without-it
@@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
@@MartinoxxHD I would stick with a raw SQL query for this. Maybe this will help stackoverflow.com/questions/19590483/django-queryset-join-without-foreignkey
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
if not if not
stackoverflow.com/questions/39291372/django-orm-join-without-foreign-keys-and-without-raw-queries
thanks
Thanks!
👍