Caching in Django with Redis

Application performance is vital to the success of your product. In an environment where users expect website response times of less than a second, the consequences of a slow application can be measured in dollars and cents. Even if you are not selling anything, fast page loads improve the experience of visiting your site. Everything […]

Read More

So you want a new admin?

Django’s admin site is about 12 years old. It started circa early 2004 as an internal CMS at the Lawrence Journal-World, was released as part of Django in 2005, and has been chugging away ever since. There’s been some substantial re-writes along the way – magic-removal, new forms, the flat theme – but for the […]

Read More

So you want a new admin?

Django’s admin site is about 12 years old. It started circa early 2004 as an internal CMS at the Lawrence Journal-World, was released as part of Django in 2005, and has been chugging away ever since. There’s been some substantial re-writes along the way — magic-removal, new forms, the flat theme — but for the […]

Read More

Updated Django Website

One year later Last year I wrote about developing our company website with Django: http://blog.aclark.net/2015/01/11/new-django-website/index.html This year, I updated the site and am again very happy with the results. Here’s an overview of the interesting aspects. Makefile I’ve continued to develop Python projects using a Makefile. So much so I’m now attempting to genericize the […]

Read More

Django: Run Multiple Update Queries Faster with Database transaction

Posted by: admin 3 days, 22 hours ago (Comments) Django’s default behaviour is to run autocommit mode. Each query is immediately committed to the database unless a transaction is active. Django provides a single API to control database transactions. atomic allows us to create a block of code or a function within which the atomicity of the database is guaranteed. If […]

Read More

LinkedIn Social Authentication in Django

Social Authentication (or Social Login) is a way to simplify logins for end users by using existing login information from the popular social networking services such as Facebook, Twitter, Google+, LinkedIn (focus of this article), and so on. Most websites that require a user to login, utilize social login platforms for a better authentication/registeration experience […]

Read More