How to Squash and Merge Django migrations?

Introduction Django Migrations are one of the main features that keep me coming back to Django for most of the projects I work on. Being able to simply define the database model in python, and then sync it with the…

Get Free Lifetime Server (4CPU, 24GB RAM)

Today I will tell you a secret that only few people know. You can get a free server forever with no fees at all. You can use it for hosting your website, hosting your emails, creating your own VPN server…

Django: How to run celery tasks manually from shell

Assuming the task is called my_task in Django app myapp in a tasks submodule: The result instance has the same API as the usual AsyncResult type, except that the result is always evaluated eagerly and locally and the .apply() method will block until the task is run to completion.

Protoc problem with M1 chip

Could not find protoc-gen-javalite-3.0.0-osx-aarch_64.exe (com.google.protobuf:protoc-gen-javalite:3.0.0). Searched in the following locations: https://jcenter.bintray.com/com/google/protobuf/protoc-gen-javalite/3.0.0/protoc-gen-javalite-3.0.0-osx-aarch_64.exe
Select your currency
EGP Egyptian pound