Replace references to deprecated "adminmedia" template tag with static URL references. Move url tag to Django 1.5 syntax.