Creating an employee for each user record

I want to create a record in employee model each time I create an user. Any suggestions about how to do that?

If you mean the Django-supplied User model, then probably best to use pre-save or post-save signals.

If you mean your own model, you can subclass its save method.

Back to Top