Performing code changes for making datatables demo working with Django 1.6 and Python 2.7