from django.utils.http import urlquote_plus
from django.utils import translation
from django.utils.translation import ugettext as _
+from django.views.decorators.cache import never_cache
from ajaxable.utils import JSONResponse, AjaxableFormView
context_instance=RequestContext(request))
+@never_cache
def tagged_object_list(request, tags=''):
- # import pdb; pdb.set_trace()
try:
tags = models.Tag.get_tag_list(tags)
except models.Tag.DoesNotExist:
'only_my_shelf': only_my_shelf,
'formats_form': forms.DownloadFormatsForm(),
'tags': tags,
+ 'theme_is_set': theme_is_set,
},
context_instance=RequestContext(request))
context_instance=RequestContext(request))
+@never_cache
def book_detail(request, slug):
try:
book = models.Book.objects.get(slug=slug)