Django Weekly 34 - Scaling Django, QuerySets, mixins and more

Datetime:2017-04-16 05:19:11         Topic: Django          Share        Original >>
Here to See The Original Article!!!

Lessons from scale: Django – Zeroes & Ones

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.

performance

,

scaling

Digging Into Django QuerySets

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.

orm

Know when and why code breaks

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

sponsor

Testing django mixins

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

mixins

Using reCAPTCHA with Django

security

Fastest cache backend possible for Django

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

redis

,

caching

How To Adaptate Cookies To EU Standards In Django Projects

cookie

Projects

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








New

Put your ads here, just $200 per month.