rewrote some links using djangos url tags