fixing django 1.5 url convention
Merge pull request #1613 from dimagi/urlfixes

fixing django 1.5 url convention