Tagged 'python'

How to implement an image slider using JSON in Django

Read more →

A quick guide on setting up Sentry error reporting for Tornado applications.

Read more →

How to set up a better, dynamic, user-friendly ArrayField widget in django admin

Read more →

How to edit and manipulate uploaded images on the fly before saving in Django

Read more →

How to clean up images and temporary files created during testing in django

Read more →

How to call the child model class from an abstract base class

Read more →

How to safely serve large files using Tornado in a non-blocking manner.

Read more →

Writing an HTTP server from scratch in Python

Read more →

Although I don't like using callbacks for writing async code, but to make multiple HTTP requests and process them asynchronously, I do.

The advantage of using callbacks in this case over coroutines is that as soon as Tornado …

Read more →

A Python tutorial for mocking requests during tests.

Read more →

An introduction to mocking in Python.

Read more →

Recently, I had to integrate Haystack with Django admin so as to be able to perform a full text search just via the admin. Looking around for resources on the internet, I came across this page in Haystack's …

Read more →

Tornado's documentation is very feeble, or at least I found it so. It doesn't explain certain things in depth. Being new to async programming model, I found many things quite difficult to understand. The documentation also lacks a …

Read more →

How to fix the pip "Couldn't find a version that satisfies the requirement" error.

Read more →