1
from ActivityLog.models import Log
‘ActivityLog’ and ‘Appointments’ are apps. So add ‘ActivityLog’ and ‘Appointments’ to INSTALLED_APPS in settings.py
For eg:
INSTALLED_APPS = [
'Appointment.apps.AppointmentConfig',
'User.apps.UserConfig',
..........................
.........................
'ActivityLog',
'Appointments',
]
Try this. It will work.
Source:stackexchange.com