lizardsystem / lizard-map

Lizard-map provides basic map interaction for Django applications that use a lizard-ui user interface.
GNU Lesser General Public License v3.0
6 stars 1 forks source link

Migration 0005 fails with django-jsonfield 0.9.13 #61

Open remcogerlich opened 9 years ago

remcogerlich commented 9 years ago

I have a site (the upload server) that uses lizard-map 4.51 and django-jsonfield 0.9.13.

When I run migrations on an empty database, lizard-map's 0005 migration crashes with "ValueError: No JSON object could be decoded".

I suspect some JSONField doesn't have a valid default in this migration, but I'm not going to fix it now.

reinout commented 9 years ago

My guess: during the 0005 migration we didn't use django-jsonfield yet and there was a different (perhaps at the time build-in) jsonfield in use. Weird that this is the first case were we see the problem.