Import Http404 from django.http instead of django.shortcuts

This commit is contained in:
Eduardo Silva
2026-11-20 11:58:58 -03:00
parent 7468cdf623
commit 5f6e2cd61c
3 changed files with 8 additions and 7 deletions
+2 -2
View File
@@ -10,8 +10,8 @@ from django.conf import settings
from django.contrib import messages
from django.contrib.auth.decorators import login_required
from django.db.models import Prefetch
from django.http import HttpResponse
from django.shortcuts import Http404, get_object_or_404, redirect, render
from django.http import Http404, HttpResponse
from django.shortcuts import get_object_or_404, redirect, render
from django.utils import timezone
from django.utils.translation import gettext_lazy as _