1👍
✅
use this if the model if the file in same directory
from .models import Microcontrollers
or if it is another directory wana import that model
from directoryname.models import Microcontrollers
Source:stackexchange.com