From d98250037d43cd6a0d5f613ea70bb57bd17c1ab1 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Mon, 6 Jan 2025 17:14:10 +0000 Subject: Adds price to Resource model - the test_forms tests now pass - fixed some imports too here --- .../resources/migrations/0002_resource_price.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 alphabetlearning/resources/migrations/0002_resource_price.py (limited to 'alphabetlearning/resources/migrations/0002_resource_price.py') diff --git a/alphabetlearning/resources/migrations/0002_resource_price.py b/alphabetlearning/resources/migrations/0002_resource_price.py new file mode 100644 index 0000000..899be2c --- /dev/null +++ b/alphabetlearning/resources/migrations/0002_resource_price.py @@ -0,0 +1,18 @@ +# Generated by Django 5.1.4 on 2025-01-06 17:13 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('resources', '0001_initial'), + ] + + operations = [ + migrations.AddField( + model_name='resource', + name='price', + field=models.DecimalField(decimal_places=2, default=0.0, max_digits=6), + ), + ] -- cgit v1.2.3