File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ def auto_configure_backend_factory(self):
145145 self .backend_factory = import_member (settings .DOWNLOADVIEW_BACKEND )
146146 except AttributeError :
147147 raise ImproperlyConfigured (
148- "SmartDownloadMiddleware requires " " settings.DOWNLOADVIEW_BACKEND"
148+ "SmartDownloadMiddleware requires settings.DOWNLOADVIEW_BACKEND"
149149 )
150150
151151 def auto_configure_backend_options (self ):
@@ -155,7 +155,7 @@ def auto_configure_backend_options(self):
155155 options_list = copy .deepcopy (settings .DOWNLOADVIEW_RULES )
156156 except AttributeError :
157157 raise ImproperlyConfigured (
158- "SmartDownloadMiddleware requires " " settings.DOWNLOADVIEW_RULES"
158+ "SmartDownloadMiddleware requires settings.DOWNLOADVIEW_RULES"
159159 )
160160 for key , options in enumerate (options_list ):
161161 args = []
Original file line number Diff line number Diff line change @@ -141,5 +141,5 @@ def test_nginx_x_accel_redirect_global_settings(self):
141141 if missed_warnings :
142142 self .fail (
143143 f"No DeprecationWarning raised about following settings: "
144- f' { ", " .join (missed_warnings )} .'
144+ f" { ', ' .join (missed_warnings )} ."
145145 )
You can’t perform that action at this time.
0 commit comments