KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I use request.user.get_profile() in a number of places in my code. However not all users have a user profile assosiated with their account. Is there some way I can create a user profile automatically when calling request.user.get_profile() if they don't have one without having to change each one of my request.user.get_profile() calls. Maybe using signals or something. The problem I have is that I use a single sign-in login so if someone logs in on another system and then goes to my site they are logged in but don't get a user profile created (I create a user profile when they log in).
Tags (comma-separated)
Save Edits
Cancel