def __init__(self, model, name=None, category=None, endpoint=None, url=None, **kwargs):
    for (k, v) in kwargs.iteritems():
        setattr(self, k, v)
    super(CustomModelView, self).__init__(model, name, category, endpoint, url)
def __init__(self, model, name=None, category=None, endpoint=None, url=None, **kwargs):
    for (k, v) in kwargs.iteritems():
        setattr(self, k, v)
    super(CustomModelView, self).__init__(model, name, category, endpoint, url)