HackSoft logo
  • Approach
  • Case Studies
  • Team
  • Company
  • Solutions
      Python/Django
  • Open source
  • Blog

Django

Python

Chatting with Django’s documentation using langchain, Chroma & OpenAI APIs

by Radoslav Georgiev
Apr 19, 2023
In this article, we explore how to leverage the new set of LLM & AI tools, in order to ask questions over Django's documentation.
Django

Timestamps in Django - exploring auto_now, auto_now_add and default

by Radoslav Georgiev
Jan 30, 2023
In this article we explore the behavior of auto_now, auto_now_add and default, in the context of the usual created_at and updated_at timestamps, that we add to our Django models.
Django

Django's JSONField incrementation with F expressions

by Vasil Slavov
Sep 16, 2022
Updating a QuerySet using an F expression is a common and very useful Django pattern. In this article, we explore how to bring this pattern to a JSONField.
Django

Direct to S3 file upload with Django

by Radoslav Georgiev
Apr 12, 2022
File upload tend to show up as a feature in most web apps. In this article, we explore how to handle direct to S3 uploads with Django, where the actual file upload bypasses the Django backend.
Django

Django Styleguide Survey

by Radoslav Georgiev
Dec 15, 2021
The Django Styleguide is core to how we develop software, using Python and Django. Now, it's time to reach outside of HackSoft and see how other people are using the Django Styleguide. That's why we are conducting the Django Styleguide Survey.
Django

Improve your Django tests with fakes and factories: Advanced usage

by Martin Angelov
Dec 13, 2021
In this article, we do a deep-dive into Python's faker and Django's factory_boy, to show advanced usages that can improve the quality of your tests.
Django

Django ORM Under the Hood - Iterables

by Ivaylo Donchev
Nov 1, 2021
In this article, we are taking a look under the hood of Django's ORM internals, namely, Iterables.
Django

Django related fields & the caveats of implicit SQL INNER JOINs

by Ventsislav Tashev
Oct 8, 2021
Dealing with implicit SQL INNER JOINs when querying related fields with the Django ORM.
Django

Google OAuth2 with Django REST Framework & React: Part 2

by Ventsislav Tashev
May 11, 2021
See how to implement an end-to-end server-side Google OAuth2 flow with Django REST framework & React.
Django

Google OAuth2 with Django REST Framework & React: Part 1

by Martin Angelov
Apr 26, 2021
See how to implement an end-to-end client-side Google OAuth2 flow with Django REST framework & React.
Django

Quick and Dirty Django - Passing data to JavaScript without AJAX

by Radoslav Georgiev
Jan 25, 2021
A quick & dirty approach for passing data from Django to JavaScript, without using AJAX.
Django

Optimize Django build to run faster on GitHub Actions

by Ivaylo Bachvarov
Aug 13, 2020
Optimize build time for a Django project running on GitHub Actions. A couple steps for faster tests and smoother workflow.
Django

Django filter - filter(A).filter(B) vs filter(A, B)

by Ivaylo Donchev
Apr 13, 2020
In this article, we are exploring the behavior of Django ORM when it comes to filter chaining & reverse foreign key relations.
DevOps

GitHub Actions in action - Setting up Django and Postgres

by Radoslav Georgiev
Jan 6, 2020
In this article, we go step by step setting up Django & Postgres on GitHub Actions.
Django

Introducing an Enum choice field for Django

by Radoslav Georgiev
Jul 30, 2019
We created a small Django package that introduces an EnumChoiceField – a layer on top of CharField + choices, that uses Python’s enums.
Careers