Revert "Fixed problems with urls.py script"

This reverts commit 2a9ad66d78f307c48f41d6d392f3eccd2d726b8d.