converted http redirects to use django url reversals instead of hard coded URLs