code for exposing country & city for a site
[sfa.git] / sfa / rspecs / elements / location.py
index a5a9260..e42e160 100644 (file)
@@ -1,9 +1,11 @@
 from sfa.rspecs.elements.element import Element
 
+
 class Location(Element):
-    
-    fields = {
-        'country': None,
-        'longitude': None,
-        'latitude': None,
-    }
+
+    fields = [
+        'country',
+        'longitude',
+        'latitude',
+        'city',
+    ]