From f1b97e27559e2914285a82afb70a03aff13bfe5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Wed, 25 Apr 2018 13:56:31 +0200 Subject: [PATCH] authentic: ignore date attributes for now --- authentic/export-users.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/authentic/export-users.py b/authentic/export-users.py index 6ed165d..a417cb6 100644 --- a/authentic/export-users.py +++ b/authentic/export-users.py @@ -40,6 +40,8 @@ def to_json(user): } for av in AttributeValue.objects.with_owner(user): # XXX: this should also export av.verified + if av.attribute.kind in ('date', 'birthdate'): + continue user_dict['attributes'][str(av.attribute.name)] = av.to_python() return user_dict