diff --git a/superset/views/core.py b/superset/views/core.py index 5c8b7f2a48a81..52f3984591b4a 100755 --- a/superset/views/core.py +++ b/superset/views/core.py @@ -837,7 +837,7 @@ def explore( # pylint: disable=too-many-locals,too-many-return-statements,too-m bootstrap_data, default=utils.pessimistic_json_iso_dttm_ser ), entry="explore", - title=title, + title=title.__str__(), standalone_mode=standalone_mode, ) @@ -2833,7 +2833,7 @@ def profile(self, username: str) -> FlaskResponse: return self.render_template( "superset/basic.html", - title=_("%(user)s's profile", user=username), + title=_("%(user)s's profile", user=username).__str__(), entry="profile", bootstrap_data=json.dumps( payload, default=utils.pessimistic_json_iso_dttm_ser