1👍
✅
User Profile
is no different from any other model. So it behaves exactly like how any other model would behave if you save it to database without specifying all fields. It will have empty fields.
Ofcourse in your case, since you do not allow blank=True, null=True
, this will raise an error and require you to specify the fields.
1👍
They’re empty to start with. You can fill in the fields by manipulating UserInfo
like any other model.
- [Answered ]-How to get parent object in multi table inheritance in django
- [Answered ]-Justifying Non-Standard Python 3 MySQL Connector Use
- [Answered ]-How to update packages after upgrading Django?
- [Answered ]-No POST-Data from Ajax in Django
- [Answered ]-Django view showing error in virtual environment
Source:stackexchange.com