Updated urls.py to be compatible for Djano 1.6
Updated widgets.py to be compatible for Django 1.6