Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

django template in views.py

def post_note(request,id):
    post_id = request.GET['note']
    print(post_id)
    //sql insertion code,once its done i want to notify to the front end..print some alert message.
    return render(request, './profile.html')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #django #template
ADD COMMENT
Topic
Name
1+5 =