Skip to content

Commit

Permalink
testing with an added lock2
Browse files Browse the repository at this point in the history
  • Loading branch information
joerivrij committed Oct 19, 2023
1 parent d6ee2f8 commit 701f941
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
13 changes: 9 additions & 4 deletions src/drc/datamodel/migrations/0064_bestandsdeel_lock.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,18 @@
class Migration(migrations.Migration):

dependencies = [
('datamodel', '0063_enkelvoudiginformatieobject_trefwoorden'),
("datamodel", "0063_enkelvoudiginformatieobject_trefwoorden"),
]

operations = [
migrations.AddField(
model_name='bestandsdeel',
name='lock',
field=models.CharField(blank=True, help_text='Hash string, which represents id of the lock of related informatieobject', max_length=255, null=True),
model_name="bestandsdeel",
name="lock",
field=models.CharField(
blank=True,
help_text="Hash string, which represents id of the lock of related informatieobject",
max_length=255,
null=True,
),
),
]
4 changes: 3 additions & 1 deletion src/drc/datamodel/models/bestandsdeel.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ class BestandsDeel(models.Model):
max_length=255,
null=True,
blank=True,
help_text=_("Hash string, which represents id of the lock of related informatieobject"),
help_text=_(
"Hash string, which represents id of the lock of related informatieobject"
),
)

class Meta:
Expand Down

0 comments on commit 701f941

Please sign in to comment.