[Models] restrictions should not allow null values
commitca447e9a7191c09db3fab3547ef783b7565e4e41
authorStefan Kögl <stefan@skoegl.net>
Mon, 16 Jun 2014 21:44:46 +0000 (16 23:44 +0200)
committerStefan Kögl <stefan@skoegl.net>
Mon, 16 Jun 2014 21:44:46 +0000 (16 23:44 +0200)
treedd73de7ed532b07d4d6765b6dbff0f9f12f9a54d
parenta845d599ebbb87a0c73f334cce50094126f09b3a
[Models] restrictions should not allow null values

By default every podcast has no restrictions. This is represented by an empty
string (instead of null).
mygpo/podcasts/migrations/0016_restrictions_notnull.py [new file with mode: 0644]
mygpo/podcasts/models.py
mygpo/web/utils.py