Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

. #168

Merged
merged 1 commit into from
Aug 22, 2024
Merged

. #168

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
106 changes: 106 additions & 0 deletions geonode/base/migrations/0098_auto_20240822_0912.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
# Generated by Django 3.2.23 on 2024-08-22 09:12

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

dependencies = [
('base', '0097_resourcebase_metadata_license'),
]

operations = [
migrations.RemoveField(
model_name='resourcebase',
name='restriction_code_type',
),
migrations.RemoveField(
model_name='resourcebase',
name='use_contraints',
),
migrations.AddField(
model_name='resourcebase',
name='restriction_other',
field=models.ManyToManyField(blank=True, help_text='limitation(s) placed upon the access or use of the data by User.', limit_choices_to=models.Q(('is_choice', True)), null=True, related_name='restriction_other', to='base.RestrictionCodeType', verbose_name='restrictions'),
),
migrations.AddField(
model_name='resourcebase',
name='use_constraint_restrictions',
field=models.ManyToManyField(blank=True, help_text='limitation(s) placed upon the access or use of the data by Admin.', null=True, to='base.RestrictionCodeType', verbose_name='Use Constrain Restrictions'),
),
migrations.AlterField(
model_name='funder',
name='award_number',
field=models.CharField(blank=True, help_text='List of funders, funded dataset creators', max_length=255, null=True),
),
migrations.AlterField(
model_name='funder',
name='award_title',
field=models.CharField(blank=True, help_text='The human readable title of the award (grant). (e.g. MOTivational strength of ecosystem services)', max_length=255, null=True),
),
migrations.AlterField(
model_name='funder',
name='award_uri',
field=models.CharField(blank=True, help_text='The URI leading to a page provided by the funder for more information about the award (grant). (e.g. http://cordis.europa.eu/project/rcn/100180_en.html)', max_length=255, null=True),
),
migrations.AlterField(
model_name='funder',
name='funding_reference',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='base.fundingreference'),
),
migrations.AlterField(
model_name='fundingreference',
name='funder_identifier',
field=models.CharField(blank=True, help_text='Uniquely identifies a funding entity, according to various types. (e.g. http://doi.org/10.13039/501100000780)', max_length=255, null=True),
),
migrations.AlterField(
model_name='fundingreference',
name='funder_identifier_type',
field=models.CharField(blank=True, help_text='The type of the Identifier. (e.g. BMBF)', max_length=255, null=True),
),
migrations.AlterField(
model_name='fundingreference',
name='funder_name',
field=models.CharField(blank=True, help_text='Name of the funding provider. (e.g. European Commission)', max_length=255, null=True),
),
migrations.AlterField(
model_name='relatedidentifier',
name='related_identifier',
field=models.CharField(blank=True, help_text='Identifiers of related resources. These must be globally unique identifiers.', max_length=255),
),
migrations.AlterField(
model_name='relatedidentifier',
name='related_identifier_type',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='base.relatedidentifiertype'),
),
migrations.AlterField(
model_name='relatedidentifier',
name='relation_type',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='base.relationtype'),
),
migrations.AlterField(
model_name='resourcebase',
name='constraints_other',
field=models.TextField(blank=True, help_text='other restrictions and legal prerequisites for accessing and using the resource or metadata by User', null=True, verbose_name='restrictions other'),
),
migrations.AlterField(
model_name='resourcebase',
name='related_projects',
field=models.ManyToManyField(blank=True, help_text='Name of the hierarchy levels for which the metadata is provided. (e.g. SIGNAL)', null=True, related_name='related_projects', to='base.RelatedProject', verbose_name='Related Project'),
),
migrations.AlterField(
model_name='resourcebase',
name='title_translated',
field=models.CharField(blank=True, help_text='german name by which the cited resource is known', max_length=255, verbose_name='title_translated'),
),
migrations.RemoveField(
model_name='resourcebase',
name='use_constrains',
),
migrations.AddField(
model_name='resourcebase',
name='use_constrains',
field=models.TextField(blank=True, help_text='other restrictions and legal prerequisites for accessing and using the resource or metadata by User', null=True, verbose_name='Use Constraints'),
),
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 3.2.23 on 2024-08-22 09:12

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('documents', '0039_alter_document_abstract_en'),
]

operations = [
migrations.AlterField(
model_name='document',
name='constraints_other_en',
field=models.TextField(blank=True, help_text='other restrictions and legal prerequisites for accessing and using the resource or metadata by User', null=True, verbose_name='restrictions other'),
),
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 3.2.23 on 2024-08-22 09:12

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('layers', '0045_alter_dataset_abstract_en'),
]

operations = [
migrations.AlterField(
model_name='dataset',
name='constraints_other_en',
field=models.TextField(blank=True, help_text='other restrictions and legal prerequisites for accessing and using the resource or metadata by User', null=True, verbose_name='restrictions other'),
),
]
18 changes: 18 additions & 0 deletions geonode/maps/migrations/0045_alter_map_constraints_other_en.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 3.2.23 on 2024-08-22 09:12

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('maps', '0044_alter_map_abstract_en'),
]

operations = [
migrations.AlterField(
model_name='map',
name='constraints_other_en',
field=models.TextField(blank=True, help_text='other restrictions and legal prerequisites for accessing and using the resource or metadata by User', null=True, verbose_name='restrictions other'),
),
]
Loading