mikeckennedy / python-for-entrepreneurs-course-demos

Contains all the "handout" materials for Talk Python's Python for Entrepreneurs course. This includes notes and the final version of the website code.
https://training.talkpython.fm/courses/explore_entrepreneurs/python-for-entrepreneurs-build-and-launch-your-online-business
MIT License
286 stars 141 forks source link

redirect from email subscribe raises error on success and fail redirect #39

Open bfmcneill opened 4 years ago

bfmcneill commented 4 years ago

I am working through the email module and when I subscribe to my list I see a pyramid debug toolbar message that it is squashing an exception HTTP.Found when I send POST request to /newsletter/add_subscriber from the little subscribe form.

Is this an exception we should be concerned about or is it just part of running the app in develop mode?

It seems redirect feature will always raise an exception.

base_controller.py line 23