Revert an over-aggressive refactor

This commit is contained in:
Jason McBrayer 2019-04-24 09:41:45 -04:00
parent 1c13a9a04b
commit f11e816426

View File

@ -529,7 +529,8 @@ def user(request, username, prev=None, next=None):
except (IndexError, AttributeError): except (IndexError, AttributeError):
next = None next = None
return render(request, 'main/user.html', return render(request, 'main/user.html',
{'toots': data, 'active_user': user_dict, {'toots': data,
'user': user_dict,
'relationship': relationship, 'relationship': relationship,
'own_acct': request.session['active_user'], 'own_acct': request.session['active_user'],
'preferences': account.preferences, 'preferences': account.preferences,