Fix: добавлен импорт get_object_or_404 в pos/views.py

Исправлена ошибка 'get_object_or_404 is not defined' при попытке
провести оплату через POS-терминал.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-12-03 20:06:59 +03:00
parent fe6e4d6682
commit ad7808cd06

View File

@@ -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