django_socio_grpc.utils.model_extractor

Module Contents

Functions

get_app_list

Get list of Django application as List

is_app_in_installed_app

return true if an app is found in the installed app with the name passed as argument

is_model_exist

get_model

Get Model from name

get_model_fields

extract Column List from a Data Model

API

django_socio_grpc.utils.model_extractor.get_app_list()

Get list of Django application as List

django_socio_grpc.utils.model_extractor.is_app_in_installed_app(app_name)

return true if an app is found in the installed app with the name passed as argument

django_socio_grpc.utils.model_extractor.is_model_exist(model_name)
django_socio_grpc.utils.model_extractor.get_model(app_name, model_name)

Get Model from name

django_socio_grpc.utils.model_extractor.get_model_fields(model_object)

extract Column List from a Data Model