I created a view to display user profiles. The associated view grabs the username parameter from the URL and gets the user using the get_queryset() function.
get_queryset()