The source project of this merge request has been removed.
raise exception if ModelAttribute is called without Model
If sheraf.ModelAttribute()
is called without sheraf.Model
, explicit exception should be raised (currently it's an AttributeError
because it's the model is a Nonetype
).