Null и blank в django

  1. i have project with account model with many field and i want a person can signup with phone and password and can create user instance but i want when user edit the profile the user should fill that field .i do not know how to use blank and null for that field like (national-code , city and ,,,) ?

  2. if for example i add national_code field as null=False and blank=False i must add it in my custom UserManager? i mean when any field is mandatory we must add it in manager can any one help me ?

Вернуться на верх