DTDavit Tovmasyanindavit.hashnode.dev·Aug 8, 2021 · 9 min readHow to safely move a model to another app in DjangoIntro In most cases, we start building our Django projects with a small number of Django apps. At some point, our projects grow and apps become larger which complicates the code maintenance. And we start thinking about refactoring - splitting a big...01Y
DTDavit Tovmasyanindavit.hashnode.dev·Aug 8, 2021 · 12 min readDjango QuerySet Examples (with SQL code included)Intro In this article, you will find the most commonly used Django QuerySet examples with SQL codes. A QuerySet describes a collection of objects/rows from your database. At some point, QuerySets are being "converted" to SQL queries. And one of t...00
DTDavit Tovmasyanindavit.hashnode.dev·Aug 8, 2021 · 3 min readHow to use Django shell in Jupyter NotebookIntro Running Django, especially Django querysets in Jupiter notebooks might be useful if you want to analyze/plot the data that is in your database. Also, sometimes it's hard to execute big querysets in CLI using Django's interactive shell. In this...00