Name 'DecimalField' is not defined

import collections

from decimal import Decimal

from email.policy import default

import imp

from multiprocessing.sharedctypes import Value

from django.shortcuts import render

from django.db.models import Q, F, Value, Func, ExpressionWrapper

from django.http import HttpResponse

from store.models import Customer, Order, Product, OrderItem

def say_hello(request):
discounted_price = ExpressionWrapper(F(‘unit_price’) * 0.8, output_field=DecimalField())
queryset = Product.objects.annotate(
discounted_price = discounted_price
)
return render(request, ‘hello.html’, {‘name’: ‘Mosh’, ‘result’: list(queryset)})

You have to import the DecimalField form django.db.models

hope I helped