parameters: (cls, **kwargs)
docstring: Raise our exception when model not found.
docstring_summary: Raise our exception when model not found.
docstring_tokens: Raise our exception when model not found .
function: def get(cls, **kwargs):
          """Raise our exception when model not found."""
          try:
              return super(BaseModel, cls).get(**kwargs)
          except DoesNotExist as exc:
              raise NotFound(exc)
          except:
              raise
function_tokens: def get ( cls , * * kwargs ) : try : return super ( BaseModel , cls ) . get ( * * kwargs ) except DoesNotExist as exc : raise NotFound ( exc ) except : raise