title: TypeError: run_simple() got an unexpected keyword argument 'exclude_patterns'
body: <p>Can't seem to get my app running. I'm following the tutorial from:</p>
  <p><a href="https://www.rithmschool.com/courses/flask-fundamentals/crud-with-flask" rel="nofollow noreferrer">https://www.rithmschool.com/courses/flask-fundamentals/crud-with-flask</a></p>
  <p>I keep getting this error:</p>
  <pre><code>Traceback (most recent call last):
    File &quot;/Library/Frameworks/Python.framework/Versions/3.10/bin/flask&quot;, line 8, in &lt;module&gt;
      sys.exit(main())
    File &quot;/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/flask/cli.py&quot;, line 986, in main
      cli.main()
    File &quot;/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/flask/cli.py&quot;, line 567, in main
      return super().main(*args, **kwargs)
    File &quot;/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/click/core.py&quot;, line 1055, in main
      rv = self.invoke(ctx)
    File &quot;/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/click/core.py&quot;, line 1657, in invoke
      return _process_result(sub_ctx.command.invoke(sub_ctx))
    File &quot;/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/click/core.py&quot;, line 1404, in invoke
      return ctx.invoke(self.callback, **ctx.params)
    File &quot;/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/click/core.py&quot;, line 760, in invoke
      return __callback(*args, **kwargs)
    File &quot;/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/click/decorators.py&quot;, line 84, in new_func
      return ctx.invoke(f, obj, *args, **kwargs)
    File &quot;/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/click/core.py&quot;, line 760, in invoke
      return __callback(*args, **kwargs)
    File &quot;/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/flask/cli.py&quot;, line 852, in run_command
      run_simple(
  TypeError: run_simple() got an unexpected keyword argument 'exclude_patterns'
  </code></pre>
  <p>I cannot seem to find anything on Google that talks about this specific error. These are the packages I have installed:</p>
  <pre><code>Package          Version
  ---------------- -------
  click            8.1.3
  Flask            2.1.3
  Flask-Caching    1.8.0
  Flask-Modus      0.0.1
  Flask-SQLAlchemy 2.5.1
  Flask-WTF        0.14.3
  itsdangerous     2.1.2
  Jinja2           3.1.2
  MarkupSafe       2.1.1
  pip              22.2.2
  PyMySQL          1.0.2
  setuptools       63.2.0
  SQLAlchemy       1.4.39
  Werkzeug         0.16.0
  wheel            0.37.1
  WTForms          3.0.1
  </code></pre>
  <p>I'm pinning to Werkzeug 0.16.0 because if I don't, I get this error:</p>
  <pre><code>Traceback (most recent call last):
    File &quot;/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/flask/cli.py&quot;, line 214, in locate_app
      __import__(module_name)
    File &quot;/Users/raj/Documents/toys_proj/app.py&quot;, line 2, in &lt;module&gt;
      from flask_modus import Modus
    File &quot;/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/flask_modus.py&quot;, line 3, in &lt;module&gt;
      from werkzeug import url_decode
  ImportError: cannot import name 'url_decode' from 'werkzeug' (/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/werkzeug/__init__.py)
  </code></pre>
  <p>Any help would be appreciated. Thank you!</p>