Change url in base.html to dynamic