Closed carltongibson closed 1 year ago
Currently one has to override the template loaders manually in order to add the partials loader. That's rubbish.
Much better would be a wrap_loaders() helper that could do this for you.
wrap_loaders()
AppConfig.ready()
template_partials
AppConfig
INSTALLED_APPS
(I'm happy to elaborate if needed.)
Currently one has to override the template loaders manually in order to add the partials loader. That's rubbish.
Much better would be a
wrap_loaders()
helper that could do this for you.AppConfig.ready()
template_partials
app should provide a defaultAppConfig
that does this.template_partials
toINSTALLED_APPS
and they'd be done.AppConfig
that doesn't do this can be added, so that folks can opt-out.(I'm happy to elaborate if needed.)