Skip to content
Snippets Groups Projects
Commit 31d8facb authored by Petr.Kalashnikov's avatar Petr.Kalashnikov
Browse files

Merge branch 'cristin116' into 'master'

Add legacy_stedkode for OU with a filter correction option specific for UiB

See merge request !357
parents 14627379 23634f9b
No related branches found
No related tags found
1 merge request!357Add legacy_stedkode for OU with a filter correction option specific for UiB
Pipeline #165184 passed
# Generated by Django 4.1.2 on 2022-11-09 13:37
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("greg", "0024_alter_person_gender"),
]
operations = [
migrations.AlterField(
model_name="ouidentifier",
name="source",
field=models.CharField(max_length=256, null=True),
),
]
...@@ -459,7 +459,7 @@ class OuIdentifier(BaseModel): ...@@ -459,7 +459,7 @@ class OuIdentifier(BaseModel):
"""Generic identifier""" """Generic identifier"""
name = models.CharField(max_length=256) name = models.CharField(max_length=256)
source = models.CharField(max_length=256) source = models.CharField(max_length=256, null=True)
value = models.CharField(max_length=256) value = models.CharField(max_length=256)
orgunit = models.ForeignKey( orgunit = models.ForeignKey(
"OrganizationalUnit", on_delete=models.CASCADE, related_name="identifiers" "OrganizationalUnit", on_delete=models.CASCADE, related_name="identifiers"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment