Skip to content

Commit 56585ae

Browse files
authored
Merge pull request #34 from buildingSMART/IVS-433_Capture_Self_Declared_Being_Affiliated_With_Vendor
IVS-433 - Capture self-declared being affiliated with an Authoring Tool vendor
2 parents 88ac7a1 + 1b2ae07 commit 56585ae

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Generated by Django 5.1.6 on 2025-03-15 15:01
2+
3+
from django.db import migrations, models
4+
5+
6+
class Migration(migrations.Migration):
7+
8+
dependencies = [
9+
('ifc_validation_models', '0010_change_authoring_tool_unique_constraint'),
10+
]
11+
12+
operations = [
13+
migrations.AddField(
14+
model_name='useradditionalinfo',
15+
name='is_vendor_self_declared',
16+
field=models.BooleanField(blank=True, help_text='Whether this user has self-declared an affiliation with an Authoring Tool vendor (optional)', null=True),
17+
),
18+
]

models.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,14 @@ class UserAdditionalInfo(AuditedBaseModel):
262262
null=True,
263263
blank=True,
264264
help_text='Whether this user belongs to an Authoring Tool vendor (optional)'
265-
)
265+
)
266+
267+
is_vendor_self_declared = models.BooleanField(
268+
null=True,
269+
blank=True,
270+
verbose_name=("is vendor (self declared)"),
271+
help_text='Whether this user has self-declared an affiliation with an Authoring Tool vendor (optional)'
272+
)
266273

267274
company = models.ForeignKey(
268275
Company,

0 commit comments

Comments
 (0)