Update sponsorship benefits to use json data properly
authorMagnus Hagander <magnus@hagander.net>
Tue, 26 Jun 2018 19:45:02 +0000 (21:45 +0200)
committerMagnus Hagander <magnus@hagander.net>
Wed, 27 Jun 2018 10:55:04 +0000 (12:55 +0200)
commit022471011fdf17abb07b83b0caa0c1ca6e960255
treec6725ed9e601291934b162f94e472ae1fde9699d
parent007e4a1133457bd482a1b030289b86d1b42d5e3c
Update sponsorship benefits to use json data properly

This means the sponsorship benefits can now deal with python dicts
instead of converting to and from json.

Also make the sponsorship benefits define their validation rules
declaratively and use the new json structure validator.
postgresqleu/confsponsor/admin.py
postgresqleu/confsponsor/backendforms.py
postgresqleu/confsponsor/benefitclasses/attendeelist.py
postgresqleu/confsponsor/benefitclasses/base.py
postgresqleu/confsponsor/benefitclasses/entryvouchers.py
postgresqleu/confsponsor/benefitclasses/imageupload.py
postgresqleu/confsponsor/benefitclasses/providetext.py
postgresqleu/confsponsor/benefitclasses/requireclaiming.py