except ValueError as e:
raise ValidationError(
"Field '%s' - invald value: %s"
- % (self.uri, e.message)
+ % (self.uri, str(e))
)
def validate(self, fdict, fallbacks=None, strict=False, validate_required=True):
required=False),
Field(DCNS('subject.genre'), 'genres', salias='genre', multiple=True,
required=False),
+ Field(WLNS('category.legimi'), 'legimi', required=False),
Field(DCNS('subject.location'), 'location', required=False),