Closed ehmatthes closed 9 years ago
Right now I'm creating a new user, then creating a new userprofile, connecting the userprofile to the new user, and saving the userprofile.
There's probably a better way - perhaps modify the Django code for making a user to also make a userprofile?
Completed, with rudimentary tests, and also refactored views.register() to use this function.
Right now I'm creating a new user, then creating a new userprofile, connecting the userprofile to the new user, and saving the userprofile.
There's probably a better way - perhaps modify the Django code for making a user to also make a userprofile?