Django

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.
Django

Renaming models in Django without heavy data migrations

by Martin Angelov
Mar 20, 2019
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.
Django

Improve your tests in Django with fakes and factories

by Martin Angelov
Aug 22, 2017
In this article we explore how to improve our Django tests using fakes & factories, generating random values & model instances.
Django

Handle errors from third-party apps in Celery & Django

by Martin Angelov
May 29, 2017
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.
Django

Integrating a "production-only" Google Analytics in Django

by Radoslav Georgiev
Apr 24, 2017
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.