Skip to content

Commit

Permalink
Merge pull request #2927 from jonasrauber/patch-1
Browse files Browse the repository at this point in the history
fix for #1612
  • Loading branch information
ericholscher authored Jun 13, 2017
2 parents 83463c4 + cc11a4e commit 4cddf5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions readthedocs/projects/views/public.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from django.http import HttpResponse, HttpResponseRedirect, Http404
from django.shortcuts import get_object_or_404, render_to_response
from django.template import RequestContext
from django.views.decorators.cache import cache_control
from django.views.decorators.cache import never_cache
from django.views.generic import ListView, DetailView

from taggit.models import Tag
Expand Down Expand Up @@ -101,7 +101,7 @@ def get_context_data(self, **kwargs):
return context


@cache_control(no_cache=True)
@never_cache
def project_badge(request, project_slug):
"""Return a sweet badge for the project"""
version_slug = request.GET.get('version', LATEST)
Expand Down

0 comments on commit 4cddf5b

Please sign in to comment.