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.
Merge pull request #197 from zalf-rdm/issue_#195_Feature_dataset_attr…
…ibute_requiring_a_unit_entry Issue #195 feature dataset attribute requiring a unit entry
- Loading branch information
Showing
7 changed files
with
75 additions
and
2 deletions.
There are no files selected for viewing
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
24 changes: 24 additions & 0 deletions
24
geonode/layers/migrations/0049_attribute_attribute_unit.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,24 @@ | ||
# Generated by Django 4.2.9 on 2024-11-05 21:12 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("layers", "0048_merge_20240927_1323"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="attribute", | ||
name="attribute_unit", | ||
field=models.CharField( | ||
blank=True, | ||
help_text="the unit of the attribute (kg, °C, mm etc)", | ||
max_length=50, | ||
null=True, | ||
verbose_name="attribute unit", | ||
), | ||
), | ||
] |
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
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
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
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
27 changes: 27 additions & 0 deletions
27
geonode/upload/migrations/0040_alter_uploadparallelismlimit_max_number_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,27 @@ | ||
# Generated by Django 4.2.9 on 2024-11-05 21:12 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("upload", "0039_auto_20220506_0833"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="uploadparallelismlimit", | ||
name="max_number", | ||
field=models.PositiveSmallIntegerField( | ||
default=5, help_text="The maximum number of parallel uploads (0 to 32767)." | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="uploadsizelimit", | ||
name="max_size", | ||
field=models.PositiveBigIntegerField( | ||
default=104857600, help_text="The maximum file size allowed for upload (bytes)." | ||
), | ||
), | ||
] |