viur-framework / viur-core

The core component of ViUR, the Python framework for modern web development.
https://www.viur.dev
MIT License
13 stars 14 forks source link

refactor: `__build_app` function clean-up and make all modules accessible #1240

Closed phorward closed 3 months ago

phorward commented 3 months ago

This is both a refactor and a fix for the Modulename.html = True default that was removed with viur-core 3.6.

The error AttributeError: 'Index' object has no attribute '<modulename>' is fixed with this improvement, and the workaround of conf.main_app.vi.modulename is not neccessary anymore.

Belongs to #1229, replaces #1232.