gouthambs/Flask-Blogging

Views always uses only default post processor.

agiUnderground opened this issue · 0 comments

Files:
https://github.com/gouthambs/Flask-Blogging/blob/master/flask_blogging/views.py

Lines:
https://github.com/gouthambs/Flask-Blogging/blob/master/flask_blogging/views.py#L235
https://github.com/gouthambs/Flask-Blogging/blob/master/flask_blogging/views.py#L260
https://github.com/gouthambs/Flask-Blogging/blob/master/flask_blogging/views.py#L296

How to reproduce:

  1. Create BloggingEngine object with a custom "post_processor" argument. Change a custom post_processor object behaviour, for example add "os.exit(1)".
  2. Run the project and see that it's runs as usual, not using custom post processor in edit/delete views.