-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from MohmdFo/main
fix(template-discovery): correct template discovery to match files with additional characters after prefix
- Loading branch information
Showing
9 changed files
with
55 additions
and
23 deletions.
There are no files selected for viewing
32 changes: 32 additions & 0 deletions
32
sage_invoice/migrations/0002_alter_invoice_template_choice.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,32 @@ | ||
# Generated by Django 5.1.2 on 2024-10-17 09:47 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("sage_invoice", "0001_initial"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="invoice", | ||
name="template_choice", | ||
field=models.CharField( | ||
choices=[ | ||
("quotation_1", "quotation_1"), | ||
("quotation_2", "quotation_2"), | ||
("quotation_3", "quotation_3"), | ||
("quotation_4", "quotation_4"), | ||
("receipt1", "receipt1"), | ||
("receipt2", "receipt2"), | ||
("receipt3", "receipt3"), | ||
], | ||
db_comment="Template choice for the invoice", | ||
help_text="The template you want for your invoice", | ||
max_length=20, | ||
verbose_name="Template choice", | ||
), | ||
), | ||
] |
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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