Skip to content

Commit 8de2240

Browse files
committed
Allow nulls too
1 parent d39cccb commit 8de2240

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Generated by Django 4.1.13 on 2024-07-12 14:35
2+
3+
import calaccess_raw.fields
4+
from django.db import migrations
5+
6+
7+
class Migration(migrations.Migration):
8+
9+
dependencies = [
10+
("calaccess_raw", "0028_remove_cvrf470cd_cand_adr1"),
11+
]
12+
13+
operations = [
14+
migrations.AlterField(
15+
model_name="cvrf470cd",
16+
name="date_1000",
17+
field=calaccess_raw.fields.DateField(
18+
blank=True,
19+
db_column="DATE_1000",
20+
help_text="Date contributions totaling $1,000 or more. (For the 470-S)",
21+
null=True,
22+
),
23+
),
24+
]

calaccess_raw/models/inactive.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,8 @@ class CvrF470Cd(CalAccessBaseModel):
138138
)
139139
date_1000 = fields.DateField(
140140
db_column="DATE_1000",
141+
blank=True,
142+
null=True,
141143
help_text="Date contributions totaling $1,000 or more. (For the 470-S)",
142144
)
143145
dist_no = fields.CharField(

0 commit comments

Comments
 (0)