replace hardcode-url with django's named url