Django: ‘str’ object has no attribute ‘get’

I am trying to effectively make a Reddit clone just for practice with Django and I am trying to set up my upvote/downvote system with just a simple integer(upvote adds one, downvotes subtract one) however when I hit my "upvote" or "downvote" buttons it gives me the error 'str' object has no attribute 'get'. I have no idea what is causing this and all of the other answers with this error were not at all related, any help would be awesome.
My Model:

class post(models.Model):
    title = models.CharField(max_length=200)
    body = models.TextField()
    author = models.ForeignKey(User, on_delete=models.CASCADE)
    ranking = models.IntegerField(default=0)

My Views:

class Feed(ListView):
    model = post
    template_name = 'thefeed/feed.html'

def UpvoteView(request, pk):
    selected_post = post.objects.get(pk=pk)
    return reverse('feed-home')

def DownvoteView(request, pk):
    selected_post = post.objects.get(pk=pk)
    return reverse('feed-home')

My Urls:

urlpatterns = [
    path('', views.Feed.as_view(), name="feed-home"),
    path('post/<int:pk>/downvote', views.DownvoteView, name='downvote-post'),
    path('post/<int:pk>/upvote', views.DownvoteView, name='upvote-post'),

My Feed.html(homepage):

{% block content %}
<div class="announcement">
    <h5 style="background: yellow;">Forum.Chat is the Internet's home for debate on any topic, keep it civil!</h5>
{% for post in object_list %}
    <div style="margin-bottom: 2%;">
        <h3><a href="{% url 'feed-post' %}">{{post.title}}</a><a href="#"></h3>
        <p><a href="#">By: {{}}</a><a href="{% url 'edit-post' %}">    Edit Post</a></p>
        <p><a href="{% url 'upvote-post' %}">Upvote</a><a href="{% url 'downvote-post' %}">    DownVote</a></p>
{% endfor %}
{% endblock %}

Source: Python-3x Questions