PageView

Stories about Python, Django and Web Development

Django Under the Hood 2016

This was the third edition of the Django: Under The Hood (DUTH) conference. Two days of awesome talks and two days of sprints. The conference was organised by members of the Django community, including several members of the Django core team, and in association with the Dutch Django Association.

Read more



Django Tips #19 Protecting Sensitive Information

The internet is a wild land. Security must be priority one when deploying a web application on the internet. The Django framework does an amazing job providing reliable and secure APIs. But none of that matters if we don’t use them properly.

Read more



How to Handle GitHub Webhooks Using Django
Updated at Dec 2, 2016: Thanks to wiesson for pointing out the compatibility problem with Python 3. I've updated the article to use Django's force_byte instead, so this way the code is compatible both with Python 2 and 3.

Read more



How to Add Social Login to Django

In this tutorial we will implement Facebook, Twitter and GitHub authentication using the python-social-auth library. They support several other services and the process should be somewhat similar. The python-social-auth library have several customization options, which sometimes makes it challenging to get started. So for this tutorial I will guide you through the mandatory steps where in the end you will have a fully functional social authentication.

Read more



Django Tips #18 Difference Between ugettext And ugettext_lazy

The Django translation API provides several utility functions to help you translate your application. They are all available in the django.utils.translation module. For the most cases you will be using ugettext() and ugettext_lazy().

Read more