Move as much stuff from the fireblog/__init__.py file into new files. Then, in __init__.py, we just confi.include all of these new files (which each have an includeme function). This provides several benefits:
Code is easier to read
Code is better separated into related sections
There is more control over the order of importing and setting up different parts of the webapp. This is the main driving reason behind this PR, as this is required for getting redis to work with the webapp in a later PR.
Move as much stuff from the
fireblog/__init__.py
file into new files. Then, in__init__.py
, we justconfi.include
all of these new files (which each have anincludeme
function). This provides several benefits:Docs have also been updated.