-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* [Fixes #7057]: ResourceBase for metadata-only resources * [Fixes #7057]: increase test coverage * [Fixes #7057]: Add metadata_only to facet urls * test * [Fixes #7057]: Increase test coverage for TopicCategoryResource * [Fixes #7057]: set metadata only to get_visible_resources * [Fixes #7057]: set metadata only to get_visible_resources * [Fixes #7057]: fix build * [Fixes #7057]: fix flake8 syntax * [Fixes #7057]: Fix tests and add metadata to new api2 * [Fixes #7057] fix broken tests
- Loading branch information
1 parent
1668930
commit daee8d1
Showing
14 changed files
with
256 additions
and
26 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
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
18 changes: 18 additions & 0 deletions
18
geonode/base/migrations/0057_resourcebase_metadata_only.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,18 @@ | ||
# Generated by Django 2.2.16 on 2021-03-10 11:03 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('base', '0056_resourcebase_ll_bbox_polygon'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='resourcebase', | ||
name='metadata_only', | ||
field=models.BooleanField(default=False, help_text='If true, will be excluded from search', verbose_name='Metadata'), | ||
), | ||
] |
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
Oops, something went wrong.