generated from Code-Institute-Org/ci-full-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e7e10ff
commit e4af873
Showing
6 changed files
with
86 additions
and
20 deletions.
There are no files selected for viewing
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
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
50 changes: 50 additions & 0 deletions
50
owner/migrations/0022_postagesettings_minimum_order_and_more.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,50 @@ | ||
# Generated by Django 4.2.7 on 2024-03-05 10:11 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("owner", "0021_alter_voucher_voucher_code"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="postagesettings", | ||
name="minimum_order", | ||
field=models.DecimalField( | ||
decimal_places=2, | ||
default=5, | ||
help_text="Amount in € that VAULT needs to be over for processing the order", | ||
max_digits=5, | ||
), | ||
preserve_default=False, | ||
), | ||
migrations.AlterField( | ||
model_name="postagesettings", | ||
name="express_delivery", | ||
field=models.DecimalField( | ||
decimal_places=2, | ||
help_text="Cost of express delivery - % of VAULT ", | ||
max_digits=5, | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="postagesettings", | ||
name="free_postage", | ||
field=models.DecimalField( | ||
decimal_places=2, | ||
help_text="Amount in € that VAULT needs to be over for free delivery", | ||
max_digits=5, | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="postagesettings", | ||
name="standard_delivery", | ||
field=models.DecimalField( | ||
decimal_places=2, | ||
help_text="Cost of standard delivery - % of VAULT ", | ||
max_digits=5, | ||
), | ||
), | ||
] |
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