Everything before this line will be inherited from base.html , why you have rewrite it ?