Check on the profile page and only display the user's e-mail address if the viewer fits into a category as defined by the user. I thought: nobody/logged-in users only/people you're in groups with (or only specific groups)/friends/everyone. Settings would be saved into the user's profile. Processing should take place in the view and then pass a boolean to the template. It might be sensible to create a new model to cover privacy settings and then link that into the profile, rather than trying to shove a ton of data into the profile on it's own.
Check on the profile page and only display the user's e-mail address if the viewer fits into a category as defined by the user. I thought: nobody/logged-in users only/people you're in groups with (or only specific groups)/friends/everyone. Settings would be saved into the user's profile. Processing should take place in the view and then pass a boolean to the template. It might be sensible to create a new model to cover privacy settings and then link that into the profile, rather than trying to shove a ton of data into the profile on it's own.