File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -84,15 +84,15 @@ STORAGES = {
8484```
8585
8686# Example 1: Saving directly to S3 via FileField
87- # This will automatically use the given bucket configured in ImportExportS3.
87+ ## This will automatically use the given bucket configured in ImportExportS3.
8888
8989```
9090class PublicImage(models.Model):
9191 file = models.FileField(storage=ImportExportS3())
9292```
9393
9494# Example 2: Saving a file via model's save() method
95- # Useful if you need to process or manipulate the file before uploading.
95+ ## Useful if you need to process or manipulate the file before uploading.
9696```
9797class PublicImage(models.Model):
9898 file = models.FileField()
@@ -110,7 +110,7 @@ class PublicImage(models.Model):
110110```
111111
112112# Example 3: Uploading a file from a remote URL (binary download or streaming)
113- # Useful for fetching external content and storing it directly in S3.
113+ ## Useful for fetching external content and storing it directly in S3.
114114
115115```
116116import requests
You can’t perform that action at this time.
0 commit comments