Category Shorts

this exceeds GitHub’s file size limit of 100.00 MB

Problem have you every added any large file to git commit then you find later you can’t push to GitHub because it exceeds GitHub’s file size limit ? Don’t worry there is multi solutions to this problem. Solution 1- Install…

Using environment variables with Django

It is important to keep sensitive bits of code like API keys and database credentials away from others. The best way to do this is to not put them on GitHub! Even if you are developing a personal project with…

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.

Select your currency
USD United States (US) dollar