Age | Commit message (Collapse) | Author |
|
Create the application and set up configs and other things within an
application factory function.
Fix obvious egregious errors preventing the application from starting
up correctly.
|
|
* Introduce flask Blueprints to help with decoupling the various
modules from the `wqflask/__init__.py` module
* Refactor settings: Create a function
`base.webqtlConfig.init_app(...)` to handle setting up the
configurations on the app correctly. Call this function at app
creation time.
* Move configuration utility functions from `utility.tools` module to
`utility.configuration` module.
* Use the `get_setting(...)` function to retrieve configuration
settings from the application.
|
|
|
|
This functionality, at least how we use it, is already provided
natively in python's pdb. Should someone need this, they can add it
manually.
* wqflask/runserver.py (app_config): Remove "flask_debugtoolbar"
import and instantiation.
* wqflask/utility/startup_config.py (app_config): Ditto.
|
|
* wqflask/utility/startup_config.py (app_config): Add
DebugToolbarExtension
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Run:
python -m autopep8 --in-place --recrusive ./ --select\
E20,E211,E22,E224,E224,E225,E226,E227,E228,E231,E241,\
E242,E251,E252,E26,E265,E266,E27 -p 3
|
|
See: <https://docs.python.org/2/library/2to3.html#2to3fixer-urllib>
|
|
|
|
GN2 should now work when Redis is empty
|
|
|
|
|