diff --git a/back/api/settings.py b/back/api/settings.py index e25af13..0c43fc7 100644 --- a/back/api/settings.py +++ b/back/api/settings.py @@ -28,7 +28,9 @@ SECRET_KEY = "django-insecure-ruo!wst&sb8(f9)j5u4rda-w!673lj_-c0a%gx_t@)ff*q*2ze # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True -ALLOWED_HOSTS = [] +ALLOWED_HOSTS = [ + '192.168.103.159' +] CORS_ALLOWED_ORIGINS = [ 'http://localhost:3000', 'http://192.168.103.159:3000' diff --git a/front/assets/main.scss b/front/assets/main.scss index 12b0456..d052622 100644 --- a/front/assets/main.scss +++ b/front/assets/main.scss @@ -45,8 +45,10 @@ @apply col-span-full } dd { - @apply mb-2 col-span-full col-start-2 - + @apply col-span-full col-start-2; + &:last-of-type { + @apply mb-2 + } } } diff --git a/front/components/edit.vue b/front/components/edit.vue index 700d218..853a292 100644 --- a/front/components/edit.vue +++ b/front/components/edit.vue @@ -188,7 +188,7 @@ onMounted(async () => {
{{ item.element_id }}
-
{{ item.additional_data }}
+
{{ item.additional_text }}
diff --git a/front/pages/organization/index.vue b/front/pages/organization/index.vue index 7653ec5..0159f85 100644 --- a/front/pages/organization/index.vue +++ b/front/pages/organization/index.vue @@ -12,7 +12,7 @@ const { data } = await useFetch(`${apiBase}/partner/`, { headers }) Новая инвентаризация
- + diff --git a/front/pages/organization/p_[org_id]/index.vue b/front/pages/organization/p_[org_id]/index.vue index 127777f..fde30ae 100644 --- a/front/pages/organization/p_[org_id]/index.vue +++ b/front/pages/organization/p_[org_id]/index.vue @@ -50,7 +50,7 @@ onMounted(async () => {
diff --git a/pyproject.toml b/pyproject.toml index d0c6514..76cf2c8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,4 +27,4 @@ build-backend = "poetry.core.masonry.api" [tool.taskipy.tasks] migrate = "cd back && python manage.py makemigrations && python manage.py migrate" -server = "cd back && python manage.py runserver" \ No newline at end of file +server = "cd back && python manage.py runserver 0.0.0.0:8000" \ No newline at end of file