def get_pk_value(self, model):
    '\n            Return the primary key value from the model instance\n\n            :param model:\n                Model instance\n        '
    return model.pk
Return the primary key value from the model instance

:param model:
    Model instance
def get_pk_value(self, model):
    '\n            Return the primary key value from the model instance\n\n            :param model:\n                Model instance\n        '
    return model.pk