Correcting minor bugs related to urls.py views.