Skip to content

Commit

Permalink
Merge branch 'master' into improve-get-source-filtered
Browse files Browse the repository at this point in the history
  • Loading branch information
submarcos authored Feb 6, 2024
2 parents 848a8a9 + 2656fd1 commit 44f7b5f
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 8 deletions.
20 changes: 14 additions & 6 deletions docs/source/others/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,24 @@ Changelog
==========


2024.02.3+dev (XXXX-XX-XX)
2024.02.4+dev (XXXX-XX-XX)
---------------------------

**Improvements:**

- Add "In progress" status to source
- Source list endpoint now also return ids of related layer
- Add author to Source
- Api result for sources are now filterable by model type and status
- Api result for sources Sources are now sortable by updated date
- Sources in admin can now be sorted / filtered by model type and update date


2024.02.4 (2024-02-05)
---------------------------

**Improvements:**

- Add source layers in admin list
- Add source status and report status filter in admin
- Add new source status, "In Progress"
- Add author to Source, auto linked at creation
- Add info tab to source details

**Documentation:**

Expand Down
2 changes: 1 addition & 1 deletion project/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2024.02.3
2024.02.4
2 changes: 2 additions & 0 deletions project/geosource/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ class SourceSerializer(PolymorphicModelSerializer):
fields = FieldSerializer(many=True, required=False)
slug = serializers.SlugField(max_length=255, read_only=True)
report = SourceReportingSerializer(read_only=True)
layers = serializers.PrimaryKeyRelatedField(many=True, read_only=True)

class Meta:
fields = "__all__"
Expand Down Expand Up @@ -175,6 +176,7 @@ class Meta:
"report",
"updated_at",
"layers",
"updated_at",
)
extras = {"read_only": {"updated_at": True}}

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ crispy-bootstrap5==2023.10
# via -r requirements.in
cron-descriptor==1.2.35
# via django-celery-beat
cryptography==41.0.6
cryptography==42.0.0
# via pyjwt
deepmerge==1.1.0
# via django-geostore
Expand Down

0 comments on commit 44f7b5f

Please sign in to comment.