Did I find the right examples for you? yes no

All Samples(3)  |  Call(2)  |  Derive(0)  |  Import(1)

src/d/j/django-backcap-HEAD/backcap/views.py   django-backcap(Download)
from .sql import SumWithDefault
from .settings import BACKCAP_NOTIFIED_USERS, BACKCAP_NOTIFY_WHOLE_STAFF
from .utils import subscribe_user, unsubscribe_user
 
@login_required
        subscribe_user(request.user, feedback)
    elif direction in ('down', 'clear'):
        unsubscribe_user(request.user, feedback)
 
    return vote_on_object(request,
def feedback_unfollow(request, feedback_id):
    feedback = get_object_or_404(Feedback, pk=feedback_id)
 
    unsubscribe_user(request.user, feedback)