IITkaGyan  v0.9
A platform for students to ask their doubts to IITians directly...
Public Member Functions | Static Public Attributes | List of all members
gyans.views.UpvoteCreate Class Reference
Inheritance diagram for gyans.views.UpvoteCreate:

Public Member Functions

def post (self, request, *args, **kwargs)
 

Static Public Attributes

 model = Answer, UpVote
 
list fields = ['answer_text', 'id', 'upvote']
 

Detailed Description

View to Upvote the Answer.

Member Function Documentation

◆ post()

def gyans.views.UpvoteCreate.post (   self,
  request,
args,
**  kwargs 
)

Member Data Documentation

◆ fields

list gyans.views.UpvoteCreate.fields = ['answer_text', 'id', 'upvote']
static

◆ model

gyans.views.UpvoteCreate.model = Answer, UpVote
static

The documentation for this class was generated from the following file: