-
-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: track customer creation timestamp
- Loading branch information
Showing
3 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
weblate_web/invoices/migrations/0017_alter_invoiceitem_package.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,26 @@ | ||
# Generated by Django 5.1.3 on 2024-12-18 10:29 | ||
|
||
import django.db.models.deletion | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("invoices", "0016_alter_invoice_category_and_more"), | ||
("weblate_web", "0037_package_hidden"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="invoiceitem", | ||
name="package", | ||
field=models.ForeignKey( | ||
blank=True, | ||
help_text="Selecting package will automatically fill in description and price", | ||
limit_choices_to={"hidden": False}, | ||
null=True, | ||
on_delete=django.db.models.deletion.SET_NULL, | ||
to="weblate_web.package", | ||
), | ||
), | ||
] |
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,21 @@ | ||
# Generated by Django 5.1.3 on 2024-12-18 10:29 | ||
|
||
import django.utils.timezone | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("payments", "0040_fill_in_users"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="customer", | ||
name="created", | ||
field=models.DateTimeField( | ||
auto_now_add=True, default=django.utils.timezone.now | ||
), | ||
preserve_default=False, | ||
), | ||
] |
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