Hi,
How should i be handling User profiles in my App. At the moment i have a profile model with FKs and MTM relationships to other models and then based on what is within the model linked to the profile I present the data.
For example, I have a dashboard that presents the products a user has and allows the user to add products to their account, etc. But the problem i am facing is that some of my views required data to within models to be able to render the template.
So for these cases, I am wrapping in a try
block and passing a default value
So is this the correct way to provide a multiple-user app or is there a library that I should be using?
Thanks