Allow custom package definitions in base.html template