Skip to content
Snippets Groups Projects
Verified Commit f6996919 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Fine tune exported fields.

parent 47793fe0
No related branches found
No related tags found
No related merge requests found
...@@ -28,7 +28,9 @@ class CacheExporter(object): ...@@ -28,7 +28,9 @@ class CacheExporter(object):
# Convert to list of dicts # Convert to list of dicts
# FIXME account for parent containers # FIXME account for parent containers
return [cache.asdict(exclude=['id', 'owner_account_id', 'geocache_id'], follow={ return [cache.asdict(exclude=['id', 'owner_account_id', 'geocache_id', 'master_waypoint_code'],
'logs': {'exclude': ['id', 'geocacher_account_id', 'listing_id']}, include=['master_waypoint'], follow={
'waypoints': {'exclude': ['id', 'listing_id']} 'logs': {'exclude': ['id', 'geocacher_account_id', 'listing_id']},
}) for cache in caches] 'waypoints': {'exclude': ['id', 'listing_id']},
'master_waypoint': {'exclude': ['id', 'listing_id']}
}) for cache in caches]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment