Fixed problems with urls.py script