File tree 2 files changed +9
-1
lines changed
2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change
1
+ # pylint: disable=abstract-method
2
+ # Disable: Method 'path' is abstract in class 'Storage' but is not overridden
3
+
4
+ """Django storage classes to use with Azure Blob storage service."""
5
+
1
6
from azure .common import AzureMissingResourceHttpError
2
7
from django .conf import settings
3
8
from django .contrib .staticfiles .storage import ManifestFilesMixin
4
9
from storages .backends .azure_storage import AzureStorage
5
10
6
11
from readthedocs .builds .storage import BuildMediaStorageMixin
7
12
8
- from .base import OverrideHostnameMixin
13
+ from .mixins import OverrideHostnameMixin
9
14
10
15
11
16
class AzureBuildMediaStorage (BuildMediaStorageMixin , OverrideHostnameMixin , AzureStorage ):
Original file line number Diff line number Diff line change
1
+ """Django storage mixin classes for different storage backends (Azure, S3)."""
2
+
1
3
from urllib .parse import urlsplit , urlunsplit
2
4
5
+
3
6
class OverrideHostnameMixin :
4
7
5
8
"""
You can’t perform that action at this time.
0 commit comments