Skip to content

Commit

Permalink
fixes styling
Browse files Browse the repository at this point in the history
  • Loading branch information
Dana authored and Dana committed Nov 10, 2022
1 parent c1c6c04 commit 7f4ff17
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions physionet-django/project/migrations/0064_datauseagreement.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@ class Migration(migrations.Migration):
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('has_copy_right_permission', models.PositiveSmallIntegerField(
choices=[(0, 'No'), (1, 'Yes'),(2, 'NA')])),
choices=[(0, 'No'), (1, 'Yes'), (2, 'NA')])),
('has_human_subject_data', models.PositiveSmallIntegerField(
choices=[(0, 'No'), (1, 'Yes'), (2, 'NA')])),
('has_phi', models.PositiveSmallIntegerField(choices=[(0, 'No'), (1, 'Yes'), (2, 'NA')])),
('project', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to='project.activeproject')),
('project', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE,
to='project.activeproject')),
],
),
]
6 changes: 3 additions & 3 deletions physionet-django/project/modelcomponents/submission.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,6 @@ class DataUseAgreement(models.Model):
)

project = models.OneToOneField('project.ActiveProject', on_delete=models.CASCADE)
has_copy_right_permission = models.PositiveSmallIntegerField(choices = RESPONSE_CHOICES)
has_human_subject_data = models.PositiveSmallIntegerField(choices = RESPONSE_CHOICES)
has_phi = models.PositiveSmallIntegerField(choices = RESPONSE_CHOICES)
has_copy_right_permission = models.PositiveSmallIntegerField(choices=RESPONSE_CHOICES)
has_human_subject_data = models.PositiveSmallIntegerField(choices=RESPONSE_CHOICES)
has_phi = models.PositiveSmallIntegerField(choices=RESPONSE_CHOICES)

0 comments on commit 7f4ff17

Please sign in to comment.