Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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

src/m/a/manabi-HEAD/apps/flashcards/views/rest/__init__.py   manabi(Download)
    def post(self, request):
        UndoCardReview.objects.undo(request.user)
        return self.responses.no_content()
 
    def delete(self, request):

src/m/a/manabi-HEAD/apps/flashcards/views/api/review.py   manabi(Download)
def undo_review(request):
    if request.method == 'POST':
        UndoCardReview.objects.undo(request.user)
        return {'success': True}