-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
model update - adding CRS extent and tie-ponts' source CRS and for Re…
…ferenceableDS
- Loading branch information
Showing
13 changed files
with
481 additions
and
229 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
# Project: EOxServer <http://eoxserver.org> | ||
# Authors: Stephan Krause <[email protected]> | ||
# Stephan Meissl <[email protected]> | ||
# Martin Paces <[email protected]> | ||
# | ||
#------------------------------------------------------------------------------- | ||
# Copyright (C) 2011 EOX IT Services GmbH | ||
|
@@ -208,10 +209,10 @@ def require_confirmation(self, diff): | |
|
||
class ReferenceableDatasetAdmin(ConfirmationAdmin): | ||
#list_display = ('coverage_id', 'eo_id', 'data_package', 'range_type', 'size_x', 'size_y') | ||
fields = ('automatic', 'visible', 'coverage_id', 'eo_id', 'range_type', 'size_x', 'size_y', 'eo_metadata', 'data_package', 'lineage') | ||
list_display = ('coverage_id', 'eo_id', 'range_type', 'size_x', 'size_y', 'visible') | ||
fields = ('automatic', 'visible', 'coverage_id', 'eo_id', 'range_type', 'extent', 'eo_metadata', 'data_package', 'lineage') | ||
list_display = ('coverage_id', 'eo_id', 'range_type', 'extent', 'visible') | ||
#list_editable = ('data_package', 'range_type', 'extent') | ||
list_editable = ('range_type', 'size_x', 'size_y', 'visible') | ||
list_editable = ('range_type', 'extent', 'visible') | ||
list_filter = ('range_type', ) | ||
|
||
ordering = ('coverage_id', ) | ||
|
@@ -257,9 +258,7 @@ def get_readonly_fields(self, request, obj=None): | |
if obj is not None and obj.automatic: | ||
return self.readonly_fields + ( | ||
'coverage_id', 'eo_id', 'eo_metadata', | ||
'lineage', 'data_package', 'size_x', 'size_y', | ||
'layer_metadata', | ||
) | ||
'lineage', 'data_package', 'extent', 'layer_metadata' ) | ||
|
||
return self.readonly_fields | ||
|
||
|
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.