In this article we are exploring the behavior of Django ORM when it comes to filter chaining & reverse foreign key relations.
In this blog post, we will be focusing on building GraphQL queries with Python. I will guide you through the steps for building a complete GraphQL query, along with pagination and filtering (using Relay mechanisms).
In this article, we go step by step setting up Django & Postgres on GitHub Actions.
Let’s say we’ve got an idea for a third party application for Django. We’ve written all the code. We’ve run it against a small Django project in order to test it. Now we are ready to release it to PyPI for others to use. But we need to make sure our manual tests are actually translated into automatic ones. This article shows how you can do that.
We created a small Django package that introduces an EnumChoiceField – a layer on top of CharField + choices, that uses Python’s enums.
We love going to DjangoCon.This year was our second time. This was our second DjangoCon in a row. In this article we share the talks that made us big impression!
Renaming a key model in a huge Django application can be trickier than it seems. Tons of data migrations and halted feature development seems unavoidable. In this blog post we share our alternative approach, avoiding most of the pain.
HackSoft team was well represented during EuroPython 2018 in Edinburgh. Radoslav Georgiev, Martin Angelov, Ivaylo Donchev & Pavlin Gergov went to Edinburgh for the conference days of EuroPython and all gave a talk on different Python & Django related topics.
We’re going to talk about underscores, dunders, encapsulation and magic methods in Python
In this article we explore how to improve our Django tests using fakes & factories, generating random values & model instances.
In this article we explore the python mocking library & how this can help us write better unit tests.
Almost every Web application needs to use some third-party software. The problem we usually have to deal with is that third-party apps, like every other app, can return an error. The following article is going to show you how to handle those problems in a nice and neat way in Django with Celery.
In this article we are exploring how to cookie-cut a ready-to-deploy Django project, with Ansible, in 5 minutes.
In this post we are exploring how to integrate Google Analytics in a Django project in a configurable way, so we don’t track page views & clicks while developing locally.
In this article we are exploring how to serve MkDocs via Django & password-protect it so only logged in users can access the documentation.