Closed duckduckgrayduck closed 1 year ago
This seems like a good start. You just need to edit the template: https://github.com/MuckRock/muckrock/blob/master/muckrock/templates/accounts/profile.html To add the output. You should be able to call the profile method directly from the template, or you could add it to the view's context data if you want (usually useful if you need more support code): https://github.com/MuckRock/muckrock/blob/master/muckrock/accounts/views.py#L198
I'm not sure if the Profile Class is the right place to call this function, or if it should be called elsewhere.