We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc07f42 commit 30fc372Copy full SHA for 30fc372
fluent_contents/extensions/pluginbase.py
@@ -596,5 +596,5 @@ def __init__(self, url, status=302):
596
"Please add 'fluent_contents.middleware.HttpRedirectRequestMiddleware' "
597
"to MIDDLEWARE_CLASSES to handle redirects by plugins.".format(url)
598
)
599
- self.url = url
+ self.url = str(url) if url else url
600
self.status = status
0 commit comments