Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Thuenen-GeoNode-Development/geonode
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: c9af27b28d0f69eeef6b269f3f1c0cc27369e184
Choose a base ref
..
head repository: Thuenen-GeoNode-Development/geonode
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: deb730682ede0c091a1a77677046d4d5b39eb777
Choose a head ref
Showing with 0 additions and 5 deletions.
  1. +0 −5 geonode/documents/api/serializers.py
5 changes: 0 additions & 5 deletions geonode/documents/api/serializers.py
Original file line number Diff line number Diff line change
@@ -37,11 +37,6 @@ def get_attribute(self, instance):


class DocumentSerializer(ResourceBaseSerializer):
def __init__(self, *args, **kwargs):
# Instantiate the superclass normally
super().__init__(*args, **kwargs)
self.fields["title"] = serializers.CharField(required=False)

file_path = GeonodeFilePathField(required=False, write_only=True)
doc_file = DocumentFieldField(required=False, write_only=True)