DjangoWeekly Issue 3
From DjangoWeekly Blog

by Ankur Gupta

Worthy Read

Robert Roskam does a recap of Day 1 and 2 of just concluded Djangocon in US. We have shared quite a few articles written by Robert over the last two issues. You might as well want to subscribe to his posts on medium.

In a nutshell, a Middleware is a regular Python class that hooks into Django’s request/response life cycle. Those classes holds pieces of code that are processed upon every request/response your Django application handles.

The Django’s built-in authentication system is great. For the most part we can use it out-of-the-box, saving a lot of development and testing effort. It fits most of the use cases and is very safe. But sometimes we need to do some fine adjustment so to fit our Web application. In this tutorial I will present the strategies you can use to simply extend the default Django User Model, so you don’t need to implement everything from scratch.

Try Hired and get in front of 4,000+ companies with one application. No more pushy recruiters, no more dead end applications and mismatched companies, Hired puts the power in your hands.

Gitter is like slack for communities. Where developers come to talk/communicate with each other. There are quite a few good Python Django channels in there have a look.

Is it possible to create a one page website using Django CMS that is fully editable by the user? I have always liked to explore the tools we use so that we can use them in the best possible way, however, this does not always mean we use them in the way the authors had intended. My tweaks, presented below, were written with the same creative intent as the guys who implemented the game tetris using Excel.

Storing media files off of your server in a service like S3 is safe?—?even if your web server gets hit by a nuke, your media files will still be accessible?—?and becomes cost effective as you aggregate lots of media files.

Having said that, implementing search into your web app is not difficult thanks to lot of libraries built for this purpose. In this article, we will discuss how to power up your django website with search functionality using haystack and elastic search. Assuming you already have a fair knowledge of django web framework, lets jump on to haystack and elastic search.

Now we’re dealing with sites that are routinely 2MB or higher. That is the size of Doom, a video game from the mid 90s. The main driver of most of this bloat is images. In June 2011, the average site had 480KB of images, and now the average is 1.4MB.

the Django team is issuing Django 1.10 release candidate 1, Django 1.9.8 and 1.8.14. These release addresses a security issue detailed in the blog post.


django-jet - 432 Stars, 65 Fork
Modern template for Django admin interface with improved functionality

django-functest - 7 Stars, 1 Fork
Helpers for creating high-level functional tests in Django, with a unified API for WebTest and Selenium tests.

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