Update legislation's urls.py and view.py to works on Django 1.5.x