Permalink
Browse files

exclude uuid, bbox fields, srid, csw fields, popular and share counts…

… from map metadata
  • Loading branch information...
1 parent 1421a05 commit 785b645aaf732be721ae10991ec2ffc4e69b7764 @Nathan-Wang Nathan-Wang committed Nov 14, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 geonode/maps/forms.py
View
4 geonode/maps/forms.py
@@ -29,7 +29,9 @@ class MapForm(forms.ModelForm):
help_text=_("A space or comma-separated list of keywords"))
class Meta:
model = Map
- exclude = ('contact', 'zoom', 'projection', 'center_x', 'center_y', 'owner')
+ exclude = ('contact', 'zoom', 'projection', 'center_x', 'center_y', 'owner', 'uuid',
+ 'bbox_x0', 'bbox_x1', 'bbox_y0', 'bbox_y1', 'srid','popular_count', 'share_count',
+ 'csw_typename', 'csw_schema', 'csw_mdsource', 'csw_type', 'csw_wkt_geometry', 'csw_anytext')
widgets = {
'abstract': forms.Textarea(attrs={'cols': 40, 'rows': 10}),
}

0 comments on commit 785b645

Please sign in to comment.