Fix #5354 & #5355 - Fix Graveyard.serialize
authorJessica Tallon <tsyesika@tsyesika.se>
Mon, 23 Nov 2015 17:27:32 +0000 (17:27 +0000)
committerJessica Tallon <tsyesika@tsyesika.se>
Mon, 23 Nov 2015 17:27:32 +0000 (17:27 +0000)
commit89068c2bdb367d9ab61d942248367279121fadca
treeb9a7f45529eb88c958b0e38b6dbeabb3f898a080
parentfb071a38fed27e3bf2406bba77ef8a2679a82963
Fix #5354 & #5355 - Fix Graveyard.serialize

Graveyard.serialize raised an exception as the deleted datetime
objects where not being converted to strings for json encoding. It
also didn't deal with the case when there was an actor, it now calls
the actor's serialize method as it should.

Thanks to Alyeph who provided the patches for both of these.
mediagoblin/db/models.py