|
|
|
@ -24,6 +24,15 @@
|
|
|
|
|
"detail": "pathlib",
|
|
|
|
|
"documentation": {}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"label": "dotenv",
|
|
|
|
|
"kind": 6,
|
|
|
|
|
"isExtraImport": true,
|
|
|
|
|
"importPath": "dotenv",
|
|
|
|
|
"description": "dotenv",
|
|
|
|
|
"detail": "dotenv",
|
|
|
|
|
"documentation": {}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"label": "admin",
|
|
|
|
|
"importPath": "django.contrib",
|
|
|
|
@ -97,11 +106,20 @@
|
|
|
|
|
"documentation": {}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"label": "AppConfig",
|
|
|
|
|
"importPath": "django.apps",
|
|
|
|
|
"description": "django.apps",
|
|
|
|
|
"label": "django.db.models.deletion",
|
|
|
|
|
"kind": 6,
|
|
|
|
|
"isExtraImport": true,
|
|
|
|
|
"detail": "django.apps",
|
|
|
|
|
"importPath": "django.db.models.deletion",
|
|
|
|
|
"description": "django.db.models.deletion",
|
|
|
|
|
"detail": "django.db.models.deletion",
|
|
|
|
|
"documentation": {}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"label": "migrations",
|
|
|
|
|
"importPath": "django.db",
|
|
|
|
|
"description": "django.db",
|
|
|
|
|
"isExtraImport": true,
|
|
|
|
|
"detail": "django.db",
|
|
|
|
|
"documentation": {}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -112,6 +130,22 @@
|
|
|
|
|
"detail": "django.db",
|
|
|
|
|
"documentation": {}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"label": "models",
|
|
|
|
|
"importPath": "django.db",
|
|
|
|
|
"description": "django.db",
|
|
|
|
|
"isExtraImport": true,
|
|
|
|
|
"detail": "django.db",
|
|
|
|
|
"documentation": {}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"label": "AppConfig",
|
|
|
|
|
"importPath": "django.apps",
|
|
|
|
|
"description": "django.apps",
|
|
|
|
|
"isExtraImport": true,
|
|
|
|
|
"detail": "django.apps",
|
|
|
|
|
"documentation": {}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"label": "TestCase",
|
|
|
|
|
"importPath": "django.test",
|
|
|
|
@ -1634,7 +1668,7 @@
|
|
|
|
|
"kind": 5,
|
|
|
|
|
"importPath": "back.api.settings",
|
|
|
|
|
"description": "back.api.settings",
|
|
|
|
|
"peekOfCode": "BASE_DIR = Path(__file__).resolve().parent.parent\n# Quick-start development settings - unsuitable for production\n# See https://docs.djangoproject.com/en/5.0/howto/deployment/checklist/\n# SECURITY WARNING: keep the secret key used in production secret!\nSECRET_KEY = 'django-insecure-ruo!wst&sb8(f9)j5u4rda-w!673lj_-c0a%gx_t@)ff*q*2ze'\n# SECURITY WARNING: don't run with debug turned on in production!\nDEBUG = True\nALLOWED_HOSTS = []\n# Application definition\nINSTALLED_APPS = [",
|
|
|
|
|
"peekOfCode": "BASE_DIR = Path(__file__).resolve().parent.parent\n# Quick-start development settings - unsuitable for production\n# See https://docs.djangoproject.com/en/5.0/howto/deployment/checklist/\n# SECURITY WARNING: keep the secret key used in production secret!\nSECRET_KEY = \"django-insecure-ruo!wst&sb8(f9)j5u4rda-w!673lj_-c0a%gx_t@)ff*q*2ze\"\n# SECURITY WARNING: don't run with debug turned on in production!\nDEBUG = True\nALLOWED_HOSTS = []\n# Application definition\nINSTALLED_APPS = [",
|
|
|
|
|
"detail": "back.api.settings",
|
|
|
|
|
"documentation": {}
|
|
|
|
|
},
|
|
|
|
@ -1643,7 +1677,7 @@
|
|
|
|
|
"kind": 5,
|
|
|
|
|
"importPath": "back.api.settings",
|
|
|
|
|
"description": "back.api.settings",
|
|
|
|
|
"peekOfCode": "SECRET_KEY = 'django-insecure-ruo!wst&sb8(f9)j5u4rda-w!673lj_-c0a%gx_t@)ff*q*2ze'\n# SECURITY WARNING: don't run with debug turned on in production!\nDEBUG = True\nALLOWED_HOSTS = []\n# Application definition\nINSTALLED_APPS = [\n 'inventory',\n 'django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',",
|
|
|
|
|
"peekOfCode": "SECRET_KEY = \"django-insecure-ruo!wst&sb8(f9)j5u4rda-w!673lj_-c0a%gx_t@)ff*q*2ze\"\n# SECURITY WARNING: don't run with debug turned on in production!\nDEBUG = True\nALLOWED_HOSTS = []\n# Application definition\nINSTALLED_APPS = [\n \"inventory\",\n \"django.contrib.admin\",\n \"django.contrib.auth\",\n \"django.contrib.contenttypes\",",
|
|
|
|
|
"detail": "back.api.settings",
|
|
|
|
|
"documentation": {}
|
|
|
|
|
},
|
|
|
|
@ -1652,7 +1686,7 @@
|
|
|
|
|
"kind": 5,
|
|
|
|
|
"importPath": "back.api.settings",
|
|
|
|
|
"description": "back.api.settings",
|
|
|
|
|
"peekOfCode": "DEBUG = True\nALLOWED_HOSTS = []\n# Application definition\nINSTALLED_APPS = [\n 'inventory',\n 'django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',",
|
|
|
|
|
"peekOfCode": "DEBUG = True\nALLOWED_HOSTS = []\n# Application definition\nINSTALLED_APPS = [\n \"inventory\",\n \"django.contrib.admin\",\n \"django.contrib.auth\",\n \"django.contrib.contenttypes\",\n \"django.contrib.sessions\",\n \"django.contrib.messages\",",
|
|
|
|
|
"detail": "back.api.settings",
|
|
|
|
|
"documentation": {}
|
|
|
|
|
},
|
|
|
|
@ -1661,7 +1695,7 @@
|
|
|
|
|
"kind": 5,
|
|
|
|
|
"importPath": "back.api.settings",
|
|
|
|
|
"description": "back.api.settings",
|
|
|
|
|
"peekOfCode": "ALLOWED_HOSTS = []\n# Application definition\nINSTALLED_APPS = [\n 'inventory',\n 'django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',",
|
|
|
|
|
"peekOfCode": "ALLOWED_HOSTS = []\n# Application definition\nINSTALLED_APPS = [\n \"inventory\",\n \"django.contrib.admin\",\n \"django.contrib.auth\",\n \"django.contrib.contenttypes\",\n \"django.contrib.sessions\",\n \"django.contrib.messages\",\n \"django.contrib.staticfiles\",",
|
|
|
|
|
"detail": "back.api.settings",
|
|
|
|
|
"documentation": {}
|
|
|
|
|
},
|
|
|
|
@ -1670,7 +1704,7 @@
|
|
|
|
|
"kind": 5,
|
|
|
|
|
"importPath": "back.api.settings",
|
|
|
|
|
"description": "back.api.settings",
|
|
|
|
|
"peekOfCode": "INSTALLED_APPS = [\n 'inventory',\n 'django.contrib.admin',\n 'django.contrib.auth',\n 'django.contrib.contenttypes',\n 'django.contrib.sessions',\n 'django.contrib.messages',\n 'django.contrib.staticfiles',\n 'rest_framework',\n]",
|
|
|
|
|
"peekOfCode": "INSTALLED_APPS = [\n \"inventory\",\n \"django.contrib.admin\",\n \"django.contrib.auth\",\n \"django.contrib.contenttypes\",\n \"django.contrib.sessions\",\n \"django.contrib.messages\",\n \"django.contrib.staticfiles\",\n \"rest_framework\",\n]",
|
|
|
|
|
"detail": "back.api.settings",
|
|
|
|
|
"documentation": {}
|
|
|
|
|
},
|
|
|
|
@ -1679,7 +1713,7 @@
|
|
|
|
|
"kind": 5,
|
|
|
|
|
"importPath": "back.api.settings",
|
|
|
|
|
"description": "back.api.settings",
|
|
|
|
|
"peekOfCode": "MIDDLEWARE = [\n 'django.middleware.security.SecurityMiddleware',\n 'django.contrib.sessions.middleware.SessionMiddleware',\n 'django.middleware.common.CommonMiddleware',\n 'django.middleware.csrf.CsrfViewMiddleware',\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\n 'django.contrib.messages.middleware.MessageMiddleware',\n 'django.middleware.clickjacking.XFrameOptionsMiddleware',\n]\nROOT_URLCONF = 'api.urls'",
|
|
|
|
|
"peekOfCode": "MIDDLEWARE = [\n \"django.middleware.security.SecurityMiddleware\",\n \"django.contrib.sessions.middleware.SessionMiddleware\",\n \"django.middleware.common.CommonMiddleware\",\n \"django.middleware.csrf.CsrfViewMiddleware\",\n \"django.contrib.auth.middleware.AuthenticationMiddleware\",\n \"django.contrib.messages.middleware.MessageMiddleware\",\n \"django.middleware.clickjacking.XFrameOptionsMiddleware\",\n]\nROOT_URLCONF = \"api.urls\"",
|
|
|
|
|
"detail": "back.api.settings",
|
|
|
|
|
"documentation": {}
|
|
|
|
|
},
|
|
|
|
@ -1688,7 +1722,7 @@
|
|
|
|
|
"kind": 5,
|
|
|
|
|
"importPath": "back.api.settings",
|
|
|
|
|
"description": "back.api.settings",
|
|
|
|
|
"peekOfCode": "ROOT_URLCONF = 'api.urls'\nTEMPLATES = [\n {\n 'BACKEND': 'django.template.backends.django.DjangoTemplates',\n 'DIRS': [],\n 'APP_DIRS': True,\n 'OPTIONS': {\n 'context_processors': [\n 'django.template.context_processors.debug',\n 'django.template.context_processors.request',",
|
|
|
|
|
"peekOfCode": "ROOT_URLCONF = \"api.urls\"\nTEMPLATES = [\n {\n \"BACKEND\": \"django.template.backends.django.DjangoTemplates\",\n \"DIRS\": [],\n \"APP_DIRS\": True,\n \"OPTIONS\": {\n \"context_processors\": [\n \"django.template.context_processors.debug\",\n \"django.template.context_processors.request\",",
|
|
|
|
|
"detail": "back.api.settings",
|
|
|
|
|
"documentation": {}
|
|
|
|
|
},
|
|
|
|
@ -1697,7 +1731,7 @@
|
|
|
|
|
"kind": 5,
|
|
|
|
|
"importPath": "back.api.settings",
|
|
|
|
|
"description": "back.api.settings",
|
|
|
|
|
"peekOfCode": "TEMPLATES = [\n {\n 'BACKEND': 'django.template.backends.django.DjangoTemplates',\n 'DIRS': [],\n 'APP_DIRS': True,\n 'OPTIONS': {\n 'context_processors': [\n 'django.template.context_processors.debug',\n 'django.template.context_processors.request',\n 'django.contrib.auth.context_processors.auth',",
|
|
|
|
|
"peekOfCode": "TEMPLATES = [\n {\n \"BACKEND\": \"django.template.backends.django.DjangoTemplates\",\n \"DIRS\": [],\n \"APP_DIRS\": True,\n \"OPTIONS\": {\n \"context_processors\": [\n \"django.template.context_processors.debug\",\n \"django.template.context_processors.request\",\n \"django.contrib.auth.context_processors.auth\",",
|
|
|
|
|
"detail": "back.api.settings",
|
|
|
|
|
"documentation": {}
|
|
|
|
|
},
|
|
|
|
@ -1706,7 +1740,7 @@
|
|
|
|
|
"kind": 5,
|
|
|
|
|
"importPath": "back.api.settings",
|
|
|
|
|
"description": "back.api.settings",
|
|
|
|
|
"peekOfCode": "WSGI_APPLICATION = 'api.wsgi.application'\n# Database\n# https://docs.djangoproject.com/en/5.0/ref/settings/#databases\nDATABASES = {\n \"default\": {\n \"ENGINE\": \"django.db.backends.postgresql\",\n \"OPTIONS\": {\n # in ~/.pg_service.conf\n 'service': 'to_inventory_db',\n \"passfile\": \".pgpass\",",
|
|
|
|
|
"peekOfCode": "WSGI_APPLICATION = \"api.wsgi.application\"\n# Database\n# https://docs.djangoproject.com/en/5.0/ref/settings/#databases\nDATABASES = {\n \"default\": {\n \"ENGINE\": \"django.db.backends.postgresql\",\n \"NAME\": os.environ.get(\"DB_NAME\"),\n \"USER\": os.environ.get(\"DB_USER\"),\n \"PASSWORD\": os.environ.get(\"DB_PASSWORD\"),\n \"HOST\": os.environ.get(\"DB_HOST\"),",
|
|
|
|
|
"detail": "back.api.settings",
|
|
|
|
|
"documentation": {}
|
|
|
|
|
},
|
|
|
|
@ -1715,7 +1749,7 @@
|
|
|
|
|
"kind": 5,
|
|
|
|
|
"importPath": "back.api.settings",
|
|
|
|
|
"description": "back.api.settings",
|
|
|
|
|
"peekOfCode": "DATABASES = {\n \"default\": {\n \"ENGINE\": \"django.db.backends.postgresql\",\n \"OPTIONS\": {\n # in ~/.pg_service.conf\n 'service': 'to_inventory_db',\n \"passfile\": \".pgpass\",\n },\n }\n}",
|
|
|
|
|
"peekOfCode": "DATABASES = {\n \"default\": {\n \"ENGINE\": \"django.db.backends.postgresql\",\n \"NAME\": os.environ.get(\"DB_NAME\"),\n \"USER\": os.environ.get(\"DB_USER\"),\n \"PASSWORD\": os.environ.get(\"DB_PASSWORD\"),\n \"HOST\": os.environ.get(\"DB_HOST\"),\n \"PORT\": os.environ.get(\"DB_PORT\"),\n }\n}",
|
|
|
|
|
"detail": "back.api.settings",
|
|
|
|
|
"documentation": {}
|
|
|
|
|
},
|
|
|
|
@ -1724,7 +1758,7 @@
|
|
|
|
|
"kind": 5,
|
|
|
|
|
"importPath": "back.api.settings",
|
|
|
|
|
"description": "back.api.settings",
|
|
|
|
|
"peekOfCode": "AUTH_PASSWORD_VALIDATORS = [\n {\n 'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',\n },\n {\n 'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator',\n },\n {\n 'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator',\n },",
|
|
|
|
|
"peekOfCode": "AUTH_PASSWORD_VALIDATORS = [\n {\n \"NAME\": \"django.contrib.auth.password_validation.UserAttributeSimilarityValidator\",\n },\n {\n \"NAME\": \"django.contrib.auth.password_validation.MinimumLengthValidator\",\n },\n {\n \"NAME\": \"django.contrib.auth.password_validation.CommonPasswordValidator\",\n },",
|
|
|
|
|
"detail": "back.api.settings",
|
|
|
|
|
"documentation": {}
|
|
|
|
|
},
|
|
|
|
@ -1733,7 +1767,7 @@
|
|
|
|
|
"kind": 5,
|
|
|
|
|
"importPath": "back.api.settings",
|
|
|
|
|
"description": "back.api.settings",
|
|
|
|
|
"peekOfCode": "LANGUAGE_CODE = 'en-us'\nTIME_ZONE = 'UTC'\nUSE_I18N = True\nUSE_TZ = True\n# Static files (CSS, JavaScript, Images)\n# https://docs.djangoproject.com/en/5.0/howto/static-files/\nSTATIC_URL = 'static/'\n# Default primary key field type\n# https://docs.djangoproject.com/en/5.0/ref/settings/#default-auto-field\nDEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'",
|
|
|
|
|
"peekOfCode": "LANGUAGE_CODE = \"en-us\"\nTIME_ZONE = \"UTC\"\nUSE_I18N = True\nUSE_TZ = True\n# Static files (CSS, JavaScript, Images)\n# https://docs.djangoproject.com/en/5.0/howto/static-files/\nSTATIC_URL = \"static/\"\n# Default primary key field type\n# https://docs.djangoproject.com/en/5.0/ref/settings/#default-auto-field\nDEFAULT_AUTO_FIELD = \"django.db.models.BigAutoField\"",
|
|
|
|
|
"detail": "back.api.settings",
|
|
|
|
|
"documentation": {}
|
|
|
|
|
},
|
|
|
|
@ -1742,7 +1776,7 @@
|
|
|
|
|
"kind": 5,
|
|
|
|
|
"importPath": "back.api.settings",
|
|
|
|
|
"description": "back.api.settings",
|
|
|
|
|
"peekOfCode": "TIME_ZONE = 'UTC'\nUSE_I18N = True\nUSE_TZ = True\n# Static files (CSS, JavaScript, Images)\n# https://docs.djangoproject.com/en/5.0/howto/static-files/\nSTATIC_URL = 'static/'\n# Default primary key field type\n# https://docs.djangoproject.com/en/5.0/ref/settings/#default-auto-field\nDEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'",
|
|
|
|
|
"peekOfCode": "TIME_ZONE = \"UTC\"\nUSE_I18N = True\nUSE_TZ = True\n# Static files (CSS, JavaScript, Images)\n# https://docs.djangoproject.com/en/5.0/howto/static-files/\nSTATIC_URL = \"static/\"\n# Default primary key field type\n# https://docs.djangoproject.com/en/5.0/ref/settings/#default-auto-field\nDEFAULT_AUTO_FIELD = \"django.db.models.BigAutoField\"",
|
|
|
|
|
"detail": "back.api.settings",
|
|
|
|
|
"documentation": {}
|
|
|
|
|
},
|
|
|
|
@ -1751,7 +1785,7 @@
|
|
|
|
|
"kind": 5,
|
|
|
|
|
"importPath": "back.api.settings",
|
|
|
|
|
"description": "back.api.settings",
|
|
|
|
|
"peekOfCode": "USE_I18N = True\nUSE_TZ = True\n# Static files (CSS, JavaScript, Images)\n# https://docs.djangoproject.com/en/5.0/howto/static-files/\nSTATIC_URL = 'static/'\n# Default primary key field type\n# https://docs.djangoproject.com/en/5.0/ref/settings/#default-auto-field\nDEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'",
|
|
|
|
|
"peekOfCode": "USE_I18N = True\nUSE_TZ = True\n# Static files (CSS, JavaScript, Images)\n# https://docs.djangoproject.com/en/5.0/howto/static-files/\nSTATIC_URL = \"static/\"\n# Default primary key field type\n# https://docs.djangoproject.com/en/5.0/ref/settings/#default-auto-field\nDEFAULT_AUTO_FIELD = \"django.db.models.BigAutoField\"",
|
|
|
|
|
"detail": "back.api.settings",
|
|
|
|
|
"documentation": {}
|
|
|
|
|
},
|
|
|
|
@ -1760,7 +1794,7 @@
|
|
|
|
|
"kind": 5,
|
|
|
|
|
"importPath": "back.api.settings",
|
|
|
|
|
"description": "back.api.settings",
|
|
|
|
|
"peekOfCode": "USE_TZ = True\n# Static files (CSS, JavaScript, Images)\n# https://docs.djangoproject.com/en/5.0/howto/static-files/\nSTATIC_URL = 'static/'\n# Default primary key field type\n# https://docs.djangoproject.com/en/5.0/ref/settings/#default-auto-field\nDEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'",
|
|
|
|
|
"peekOfCode": "USE_TZ = True\n# Static files (CSS, JavaScript, Images)\n# https://docs.djangoproject.com/en/5.0/howto/static-files/\nSTATIC_URL = \"static/\"\n# Default primary key field type\n# https://docs.djangoproject.com/en/5.0/ref/settings/#default-auto-field\nDEFAULT_AUTO_FIELD = \"django.db.models.BigAutoField\"",
|
|
|
|
|
"detail": "back.api.settings",
|
|
|
|
|
"documentation": {}
|
|
|
|
|
},
|
|
|
|
@ -1769,7 +1803,7 @@
|
|
|
|
|
"kind": 5,
|
|
|
|
|
"importPath": "back.api.settings",
|
|
|
|
|
"description": "back.api.settings",
|
|
|
|
|
"peekOfCode": "STATIC_URL = 'static/'\n# Default primary key field type\n# https://docs.djangoproject.com/en/5.0/ref/settings/#default-auto-field\nDEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'",
|
|
|
|
|
"peekOfCode": "STATIC_URL = \"static/\"\n# Default primary key field type\n# https://docs.djangoproject.com/en/5.0/ref/settings/#default-auto-field\nDEFAULT_AUTO_FIELD = \"django.db.models.BigAutoField\"",
|
|
|
|
|
"detail": "back.api.settings",
|
|
|
|
|
"documentation": {}
|
|
|
|
|
},
|
|
|
|
@ -1778,7 +1812,7 @@
|
|
|
|
|
"kind": 5,
|
|
|
|
|
"importPath": "back.api.settings",
|
|
|
|
|
"description": "back.api.settings",
|
|
|
|
|
"peekOfCode": "DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'",
|
|
|
|
|
"peekOfCode": "DEFAULT_AUTO_FIELD = \"django.db.models.BigAutoField\"",
|
|
|
|
|
"detail": "back.api.settings",
|
|
|
|
|
"documentation": {}
|
|
|
|
|
},
|
|
|
|
@ -1809,6 +1843,15 @@
|
|
|
|
|
"detail": "back.api.wsgi",
|
|
|
|
|
"documentation": {}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"label": "Migration",
|
|
|
|
|
"kind": 6,
|
|
|
|
|
"importPath": "back.inventory.migrations.0001_initial",
|
|
|
|
|
"description": "back.inventory.migrations.0001_initial",
|
|
|
|
|
"peekOfCode": "class Migration(migrations.Migration):\n initial = True\n dependencies = [\n ]\n operations = [\n migrations.CreateModel(\n name='Partner',\n fields=[\n ('id', models.AutoField(primary_key=True, serialize=False)),\n ],",
|
|
|
|
|
"detail": "back.inventory.migrations.0001_initial",
|
|
|
|
|
"documentation": {}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"label": "InventoryConfig",
|
|
|
|
|
"kind": 6,
|
|
|
|
@ -1841,7 +1884,16 @@
|
|
|
|
|
"kind": 6,
|
|
|
|
|
"importPath": "back.inventory.serializers",
|
|
|
|
|
"description": "back.inventory.serializers",
|
|
|
|
|
"peekOfCode": "class PartnerSerializer(serializers.ModelSerializer):\n class Meta:\n model = Partner\n fields = [\"id\"]",
|
|
|
|
|
"peekOfCode": "class PartnerSerializer(serializers.ModelSerializer):\n class Meta:\n model = Partner\n fields = [\"id\"]\nclass ElementSerializer(serializers.ModelSerializer):\n class Meta:\n model = Element\n fields = [\"id\", \"external_id\", \"type\", \"photo\", \"additional_text\", \"partner\"]",
|
|
|
|
|
"detail": "back.inventory.serializers",
|
|
|
|
|
"documentation": {}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"label": "ElementSerializer",
|
|
|
|
|
"kind": 6,
|
|
|
|
|
"importPath": "back.inventory.serializers",
|
|
|
|
|
"description": "back.inventory.serializers",
|
|
|
|
|
"peekOfCode": "class ElementSerializer(serializers.ModelSerializer):\n class Meta:\n model = Element\n fields = [\"id\", \"external_id\", \"type\", \"photo\", \"additional_text\", \"partner\"]",
|
|
|
|
|
"detail": "back.inventory.serializers",
|
|
|
|
|
"documentation": {}
|
|
|
|
|
},
|
|
|
|
|