In my project I have a lot of Ajax methods, with external client-side scripts (I don\'t want to include JavaScript into templates!) and changing URLs is kind of pain for me
Try creating javascript helper functions (in django template) for generating url string. In simple form they could look like this:
function generete_some_url(id){ return "{% url some_url itemid=112233 %}".replace("112233", id); }
Maybe this has some other implications but I think it should work.