Flask Website Error Handling on August 04, 2018 Get link Facebook Twitter Pinterest Email Other Apps PROBLEM You want to avoid error messages like this when an incorrect URL is requested. SOLUTION Add this function to __init__.py (Then create page 404.hml, as fancy as you like...) RESULT Comments
Comments
Post a Comment