diff --git a/dev_requirements.txt b/dev_requirements.txt
index cab46917d075edcea4cd265bc8347838ecf968b3..6ff9bc3a712b5eae22b0999434d8e206f26b9b30 100644
--- a/dev_requirements.txt
+++ b/dev_requirements.txt
@@ -1,11 +1,9 @@
 asgiref
-attrs==19.3.0
+attrs
 coveralls>=1.6.0
-channels>=2.0
 channels-redis
 daphne
 dash-bootstrap-components
-Django>=2.0
 django-bootstrap4
 django-redis
 dpd-static-support>=0.0.4
diff --git a/django_plotly_dash/dash_wrapper.py b/django_plotly_dash/dash_wrapper.py
index b408be9dcd080845d5c870b499d3fea0cf910c4d..7d1395425ff88604c3ed871f4edcb9bd38e326a1 100644
--- a/django_plotly_dash/dash_wrapper.py
+++ b/django_plotly_dash/dash_wrapper.py
@@ -375,10 +375,12 @@ class DjangoDash:
 class PseudoFlask(Flask):
     'Dummy implementation of a Flask instance, providing stub functionality'
     def __init__(self):
-        self.config = {}
+        self.config = {'DEBUG': False}
         self.endpoints = {}
         self.name = "PseudoFlaskDummyName"
         self.blueprints = {}
+        self._got_first_request = False
+        self.before_request_funcs = {}
 
     # pylint: disable=unused-argument, missing-docstring
 
@@ -425,6 +427,8 @@ class WrappedDash(Dash):
         kwargs['url_base_pathname'] = self._base_pathname
         kwargs['server'] = self._notflask
 
+        #xkwargs['DEBUG'] = kwargs.get('DEBUG', False)
+
         super().__init__(__name__, **kwargs)
 
         self.css.config.serve_locally = serve_locally
diff --git a/django_plotly_dash/version.py b/django_plotly_dash/version.py
index 200e795f9fdf32e3402e1cef9e92ee874d29a12c..b47a37d499f6dd822eed67fe5802b7af2313f967 100644
--- a/django_plotly_dash/version.py
+++ b/django_plotly_dash/version.py
@@ -23,4 +23,4 @@ SOFTWARE.
 
 '''
 
-__version__ = "2.1.2"
+__version__ = "2.1.3"
diff --git a/requirements.txt b/requirements.txt
index 8907f73c23d0de30ea380811e26f620c1b7b076c..9430bc54eef0132ccb4663991c63a759fea16d11 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -4,7 +4,7 @@ dpd-components
 
 dash-bootstrap-components
 
-channels<3.0
+channels>=2.0
 Django>=2.2,<4.0.0
 Flask>=1.0.2
-Werkzeug>=2.0,<2.1
+Werkzeug
diff --git a/setup.py b/setup.py
index 8ce566e066f53902a99d7f6206f76b57435c5f2b..fecdd90ac0e74cbb200c531ce74ccc73cc04a6b9 100644
--- a/setup.py
+++ b/setup.py
@@ -46,10 +46,10 @@ setup(
 
                         'dash-bootstrap-components',
 
-                        'channels<3.0',
+                        'channels>=2.0',
                         'Django>=2.2,<4.0.0',
                         'Flask>=1.0.2',
-                        'Werkzeug>=2.0,<2.1',
+                        'Werkzeug',
     ],
     python_requires=">=3.8",
     )