In Django-Registration it says you can save a custom profile when you save a user.
But I have no idea what the documentation is asking me to do. Here is what they say:
To enable creation of a custom user profile along with the
User(e.g., the model specified in theAUTH_PROFILE_MODULEsetting), define a function which knows how to create and save an instance of that model with appropriate default values, and pass it as the keyword argumentprofile_callback. This function should accept one keyword argument:
userThe
Userto relate the profile to.
Can someone give me an example of the function that needs to be created and how to pass it as a argument?