Django Weekly 34 - Scaling Django, QuerySets, mixins and more
From DjangoWeekly Blog

by Ankur Gupta

Worthy Read

This February, I visited Pune to speak at PyCon Pune 2017. My talk was basically a brief summary of my learning after having been working with Django in production for the past couple of years, as part of building the DoSelect stack.

Abstraction provided by ORMs is not perfect. There are pitfalls lurking for unwary developers, such as the N + 1 problem. In this article I'll be setting up a simple example app, consisting of nothing more than a few models, and then making use of the Django shell to perform various queries and examine the results.

Users finding bugs? Searching logs for errors? Find + fix broken code fast!

This blog post is to help you test your django mixins.


Redis is twice as fast as memcached as a Django cache backend when installed using AWS ElastiCache. Only tested for reads.



djangoql - 175 Stars, 7 Fork
Advanced search language for Django, with auto-completion. Supports logical operators, parenthesis, table joins, works with any Django models. Tested vs. Python 2.7, 3.5 and 3.6, Django 1.8 - 1.11. Auto-completion feature tested in Chrome, Firefox, Safari, IE9+.

django-cruds-adminlte - 87 Stars, 4 Fork
django-cruds is simple drop-in django app that creates CRUD for faster prototyping

django-webpacker - 10 Stars, 1 Fork
A django compressor tool that bundles css, js files to a single css, js file with webpack and updates your html files with respective css, js file path.

django-starter-kit - 4 Stars, 0 Fork
Opinionated template for Django projects on Python 3 and PostgreSQL

Ankur has coded and deployed numerous Python software over the last 10 years, at three venture funded startup and a fortune 10 company. He currently heads Numerate Labs. Djangoweekly is his side project with Django being his go to web framework.

Blog Categories