From ad7808cd06adb17e71679cca50634cb7e6db6951 Mon Sep 17 00:00:00 2001 From: Andrey Smakotin Date: Wed, 3 Dec 2025 20:06:59 +0300 Subject: [PATCH] =?UTF-8?q?Fix:=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=20=D0=B8=D0=BC=D0=BF=D0=BE=D1=80=D1=82=20get=5Fobj?= =?UTF-8?q?ect=5For=5F404=20=D0=B2=20pos/views.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Исправлена ошибка 'get_object_or_404 is not defined' при попытке провести оплату через POS-терминал. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- myproject/pos/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/myproject/pos/views.py b/myproject/pos/views.py index a8e268c..5357bf4 100644 --- a/myproject/pos/views.py +++ b/myproject/pos/views.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -from django.shortcuts import render +from django.shortcuts import render, get_object_or_404 from django.contrib.auth.decorators import login_required from django.http import JsonResponse from django.views.decorators.http import require_http_methods