@login_required
@transaction.atomic
def delete_subscription(request, topic_id):
    topic = get_object_or_404(Topic, pk=topic_id)
    topic.subscribers.remove(request.user)
    messages.info(request, _("Topic subscription removed."))
    if request.GET in 'from_topic':
        return HttpResponseRedirect(reverse('djangobb:topic', args=[topic.id]))
    else:
        return HttpResponseRedirect(reverse('djangobb:forum_profile', args=[request.user.username]))
dataset/ETHPy150Open slav0nic/djangobb/djangobb_forum/views.py/delete_subscription/swapped operands of `in`