-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Secure files extending file name with uuid.
- Loading branch information
1 parent
c9be21e
commit bd12e9c
Showing
4 changed files
with
64 additions
and
2 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
flash_update/migrations/0013_alter_flashgraphicmap_file.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Generated by Django 4.2.15 on 2024-09-03 09:37 | ||
|
||
from django.db import migrations, models | ||
import flash_update.models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('flash_update', '0012_auto_20230410_0720'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='flashgraphicmap', | ||
name='file', | ||
field=models.FileField(upload_to=flash_update.models.flash_map_upload_to, verbose_name='file'), | ||
), | ||
] |
19 changes: 19 additions & 0 deletions
19
flash_update/migrations/0014_alter_flashupdate_extracted_file.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Generated by Django 4.2.15 on 2024-09-03 09:42 | ||
|
||
from django.db import migrations, models | ||
import flash_update.models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('flash_update', '0013_alter_flashgraphicmap_file'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='flashupdate', | ||
name='extracted_file', | ||
field=models.FileField(blank=True, null=True, upload_to=flash_update.models.flash_extracted_file_upload_to, verbose_name='extracted file'), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters