[Fixed]-Create Parent Class object from child class's ModelForm

1👍

I am not sure purpose behind instantiating user object in HospitalCreateAppointmentForm. However, just in case you really need, you have to import User model in form file. For example if your HospitalCreateAppointmentFor is in forms.py, import User module like

from django.contrib.auth.models import User

And you can access field like:

User._meta.fields

Leave a comment