Skip to content

Commit

Permalink
Fix horizontal scrollbar
Browse files Browse the repository at this point in the history
  • Loading branch information
fle committed Feb 23, 2024
1 parent 5a4b1bf commit a543633
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion content/0004_en_fast_collectstatic_on_s3.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ The context manager:
by whitenoise (a full-featured local storage with compression and manifest)
"""
self._original_storage = self.storage
self.storage = import_string("whitenoise.storage.CompressedManifestStaticFilesStorage")()
backend = "whitenoise.storage.CompressedManifestStaticFilesStorage"
self.storage = import_string(backend)()
yield
self.storage = self._original_storage
```
Expand Down
3 changes: 2 additions & 1 deletion content/0004_fr_fast_collectstatic_on_s3.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ Le context manager :
by whitenoise (a full-featured local storage with compression and manifest)
"""
self._original_storage = self.storage
self.storage = import_string("whitenoise.storage.CompressedManifestStaticFilesStorage")()
backend = "whitenoise.storage.CompressedManifestStaticFilesStorage"
self.storage = import_string(backend)()
yield
self.storage = self._original_storage
```
Expand Down

0 comments on commit a543633

Please sign in to comment.