def get_context_data(self, **kwargs):
        context = super(UserDetailView, self).get_context_data(**kwargs)
        context['nav_active_item'] = self.object
        context['dd_active_item'] = 'Profile'
        context['show_banned_warning'] = self.show_banned_warning()
        context['subscription_formset'] = get_subscription_formset(
            user=self.request.user)
        context['groups_joined'] = Group.objects.filter(
            group__user__id=self.object.pk).select_related('image', 'group')
        context['subscribed_ids'] = self.request.user.groups_joined.values_list(
            'pk', flat=True)
        # pylint: disable=line-too-long
        context['show_message_button'] = self.request.user.can_direct_message_user(self.object)
        context['profile_is_self'] = self.request.user.pk == self.object.pk
        context['mod_update_form'] = ModNotificationUpdateForm(
            instance=self.request.user)
        return context
Do not sell armor the player has equipped.
dataset/ETHPy150Open ofa/connect/open_connect/accounts/views.py/UserDetailView.get_context_data--crossover with--dataset/ETHPy150Open justinmeister/The-Stolen-Crown-RPG/data/shopgui.py/Gui.cant_sell_equipped_armor