Hi I am writing a REST API. In my accounts.models, I have a Custom User model inheriting from the AbstractBaseUser model and contains fields like username, email, first_name, last_name and is_artist.
I also have a profiles.models which has an Artist class and contains additional fields.
I want a situation whereby once a User is created, an Artist instance is also created. But only when the user set the is_artist to True should the Artist update be made available to them so they can update their Artist profile. How can I achieve this?