You imported the wrong DecimalField class.
What you imported is django.forms.DecimalField
What you need to import is django.db.models.DecimalField
VScode’s auto import can be your best friend and worst enemy at the same time. Lol
VS Code import django.forms.DecimalField by itself which is wrong. We need to Import django.db.models.DecimalField which is the right import to resolve > ‘get_internal_type’ issue.