Job Queues and Workers in Django
Job queues are a powerful tool for processing background work in your Django applications. This article teaches about job queues and workers—and how to implement them with Django Q and Celery.
Job queues are a powerful tool for processing background work in your Django applications. This article teaches about job queues and workers—and how to implement them with Django Q and Celery.
Building stateful web applications can be tricky, unless you use a framework, of course—Django to the rescue! In this article, learn how to build a realtime chat app using Django Channels and WebSockets.
It doesn’t matter if you’re just starting to learn code or if you’ve been doing it for a few years – sometimes you feel like you have no idea what you’re doing. This feeling can be made even worse by the wealth of information out there, making the right decision can get stressful. Life is full of those tough choices: Coke vs. Pepsi; Yankees vs. Red Sox; Python vs. Flask. You know, regular questions about soda, baseball, and Python frameworks that almost everyone faces.
Python is insanely popular among machine learning enthusiasts these days. Hence, anyone developing a machine learning model normally turns to Python. The real challenge arises at the deployment stage because you can use many frameworks. Figuring out which Python framework to use may add to the confusion. This post discusses two popular machine learning frameworks, Flask and Django. We’ll also compare them side by side, so that you can make the right choice.
Automating your test suite helps get your code to production faster. In this tutorial, you'll learn how to write unit tests for Django and run them with GitHub Actions.
Learn how to create and manage user permissions in your Django apps.
Caching is essential for high-performance web apps; luckily, Python and Django provide excellent tools to help. In this article, Muhammed Ali walks through some popular caching techniques.
Flask and Django are two of the most popular Python packages. More importantly, they are the two most preferred web frameworks you can use with the language. Both frameworks are open-source and offer excellent APIs for developers to build robust Python web applications. While both frameworks serve the same purpose, they take two philosophically opposed routes to achieve it.
The N+1 Queries Problem is a perennial database performance issue. It affects many ORM’s and custom SQL code, and Django’s ORM is not immune either. In this post, we’ll examine what the N+1 Queries Problem looks like in Django, some tools for fixing it, and most importantly some tools for detecting it. Naturally, Scout is one of those tools, with its built-in N+1 Insights tool.