edited urls.py for python

caught an errant tab (python only handles spaces), and reordered urls to
be more logical.