All Articles in “python”

  1. Migrating to Django 1.5 and Custom User Model

    on March 28, 2013 in technology about

    With the recent Django 1.5 release, we now have the choice to create custom user model instead of the default user model that came with django.contrib.auth.

    Two important use cases this release resolved were the ability to easily extend user profile and fix ...continue

  2. Installing M2Crypto on CentOS, RedHat or Fedora

    on February 05, 2013 in technology about

    Installing M2Crypto, a feature-rich Python wrapper for OpenSSL, should be a simple matter of running pip install M2Crypto. However, it seems that on CentOS, RedHat or other Fedora Core-based distributions, especially 32-bit operating system running on 64-bit hardware, it is a bit tricky.

    Here are the ...continue

  3. Inline Read More Link in Python Using lxml

    on January 06, 2013 in technology about

    When dealing with displaying large html content, we need a way to generate its summary and a “read more” or “continue” link to the full article.

    This is a simple matter of truncating the html content at a defined maximum word count and adding the convenient ...continue

  4. Creating a Blog with Python Pelican

    on June 06, 2012 in technology about

    Let’s move beyond the when and why of a personal blog of a web developer and discuss the what and how. The current trend seems to favor the static site generation route and I agree whole-heartedly. Static pages are easier and faster to host and ...continue

  5. Hello (Learning) World

    on May 28, 2012 in learning about

    Starting a personal blog is something I have wanted to do for a very long time. However, my priority list tends to favor non-personal action items.

    As a web developer, technology consultant and especially as a bootstrap startup enthusiast, it makes sense to produce work that ...continue