1. Dane Springmeyer
  2. django-shapes

Commits

stringfellow  committed a284133

wups, use the right attr name

  • Participants
  • Parent commits fae11ca
  • Branches default

Comments (0)

Files changed (1)

File shapes/views/export.py

View file
  • Ignore whitespace
         fields = self.queryset.model._meta.fields
         attr = [
             f for f in fields
-            if not isinstance(f, GeometryField) and f.name not in self.exclude
+            if not isinstance(f, GeometryField) and \
+                f.name not in self.exclude_fields
         ]
         return attr