Ajax returning `none` in django – Jquery ajax
I Have this form in a table with two button. Code: index.html <form action="{% url 'Prediction' %}" method="post"> {% csrf_token %} <table class="table table-striped table-dark" cellspacing="0"> <thead class="bg-info"> <tr> <th>Company's Symbol</th> <th>Current Price</th> <th>View Current chart</th> <th>Action</th> </tr> </thead> <tbody>…