ella/ella-comments — pull request #13 by cooncesean (2012-11-29 18:48:02+00:00)
Title: Adding the `never_cache` decorator to `ListComments.__call__()`

There is a bug in which newly auth'd users receive a cached `list_comments` view and cannot comment after they signup/login: http://d.pr/v/KIyM

This is because the call to the `{% get_comment_form ... %}` templatetag is from a template which is rendered via an ajax request to `ella-comments.views.list_comments`, which is cached -- so that the newly auth'd user is still an `AnonymousUser`.

If there are performance consequences to never cache this view, then I'd propose another ajax request (instead of a templatetag) to fetch and render the comment form (which would apply the `never_cache` decorator).

For more info, see: https://github.com/WhiskeyMedia/issuetracker/issues/327