forked from GeoNode/geonode
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Fixes #207] Task: when uploading metadata from ORD received an error…
… that abstract field only allows 2000 chars
- Loading branch information
1 parent
53d39a8
commit 16ff997
Showing
5 changed files
with
251 additions
and
11 deletions.
There are no files selected for viewing
117 changes: 117 additions & 0 deletions
117
geonode/base/migrations/0102_alter_resourcebase_abstract_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,117 @@ | ||
# Generated by Django 4.2.9 on 2024-11-28 08:58 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("base", "0101_merge_20240924_1415"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="resourcebase", | ||
name="abstract", | ||
field=models.CharField( | ||
help_text="brief narrative summary of the content of the resource(s)", | ||
max_length=6000, | ||
verbose_name="Abstract", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="resourcebase", | ||
name="conformity_explanation", | ||
field=models.CharField( | ||
blank=True, | ||
help_text="Give an Explanation about the conformity check. (e.g. See the referenced specification.", | ||
max_length=4000, | ||
verbose_name="Conformity Explanation", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="resourcebase", | ||
name="method_description", | ||
field=models.TextField( | ||
blank=True, | ||
help_text="The methodology employed for the study or research", | ||
max_length=6000, | ||
verbose_name="Method Description", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="resourcebase", | ||
name="other_description", | ||
field=models.TextField( | ||
blank=True, | ||
help_text="Other description information that does not fit into an existing category", | ||
max_length=6000, | ||
verbose_name="Other Description", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="resourcebase", | ||
name="purpose", | ||
field=models.TextField( | ||
blank=True, | ||
help_text="summary of the intentions with which the resource(s) was developed", | ||
max_length=1024, | ||
null=True, | ||
verbose_name="Purpose", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="resourcebase", | ||
name="series_information", | ||
field=models.TextField( | ||
blank=True, | ||
help_text="Information about a repeating series, such as volumne, issue, number", | ||
max_length=6000, | ||
verbose_name="Series Information", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="resourcebase", | ||
name="subtitle", | ||
field=models.TextField( | ||
blank=True, help_text="subtitle of the dataset", max_length=1024, verbose_name="Subtitle" | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="resourcebase", | ||
name="table_of_content", | ||
field=models.TextField( | ||
blank=True, | ||
help_text="A listing of the Table of Contents", | ||
max_length=6000, | ||
verbose_name="Table of Content", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="resourcebase", | ||
name="technical_info", | ||
field=models.TextField( | ||
blank=True, | ||
help_text="Detailed information that may be associated with design, implementation, operation, use, and/or maintenance of a process or system", | ||
max_length=6000, | ||
verbose_name="Technical Info", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="resourcebase", | ||
name="title", | ||
field=models.CharField( | ||
help_text="name by which the cited resource is known", max_length=512, verbose_name="Title" | ||
), | ||
), | ||
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=512, | ||
verbose_name="Title Translated", | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
...ocuments/migrations/0042_alter_document_abstract_en_alter_document_purpose_en_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Generated by Django 4.2.9 on 2024-11-28 08:58 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("documents", "0041_auto_20240909_1236"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="document", | ||
name="abstract_en", | ||
field=models.CharField( | ||
help_text="brief narrative summary of the content of the resource(s)", | ||
max_length=6000, | ||
null=True, | ||
verbose_name="Abstract", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="document", | ||
name="purpose_en", | ||
field=models.TextField( | ||
blank=True, | ||
help_text="summary of the intentions with which the resource(s) was developed", | ||
max_length=1024, | ||
null=True, | ||
verbose_name="Purpose", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="document", | ||
name="title_en", | ||
field=models.CharField( | ||
help_text="name by which the cited resource is known", max_length=512, null=True, verbose_name="Title" | ||
), | ||
), | ||
] |
41 changes: 41 additions & 0 deletions
41
...ode/layers/migrations/0051_alter_dataset_abstract_en_alter_dataset_purpose_en_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Generated by Django 4.2.9 on 2024-11-28 08:58 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("layers", "0050_alter_attribute_attribute_unit"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="dataset", | ||
name="abstract_en", | ||
field=models.CharField( | ||
help_text="brief narrative summary of the content of the resource(s)", | ||
max_length=6000, | ||
null=True, | ||
verbose_name="Abstract", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="dataset", | ||
name="purpose_en", | ||
field=models.TextField( | ||
blank=True, | ||
help_text="summary of the intentions with which the resource(s) was developed", | ||
max_length=1024, | ||
null=True, | ||
verbose_name="Purpose", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="dataset", | ||
name="title_en", | ||
field=models.CharField( | ||
help_text="name by which the cited resource is known", max_length=512, null=True, verbose_name="Title" | ||
), | ||
), | ||
] |
41 changes: 41 additions & 0 deletions
41
geonode/maps/migrations/0047_alter_map_abstract_en_alter_map_purpose_en_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Generated by Django 4.2.9 on 2024-11-28 08:58 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("maps", "0046_auto_20240909_1236"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="map", | ||
name="abstract_en", | ||
field=models.CharField( | ||
help_text="brief narrative summary of the content of the resource(s)", | ||
max_length=6000, | ||
null=True, | ||
verbose_name="Abstract", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="map", | ||
name="purpose_en", | ||
field=models.TextField( | ||
blank=True, | ||
help_text="summary of the intentions with which the resource(s) was developed", | ||
max_length=1024, | ||
null=True, | ||
verbose_name="Purpose", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="map", | ||
name="title_en", | ||
field=models.CharField( | ||
help_text="name by which the cited resource is known", max_length=512, null=True, verbose_name="Title" | ||
), | ||
), | ||
] |