Splunk Dev

How to pass the values from django view to python backend file and how retrieve the results form python backend files to django view

UshaReddyDondet
Engager

I am developing an application using django frame work in splunk. I have created a form which can take input from the user.
For this I have created a text box to give input data through html file and created conf file in default folder to initialize the variables and forms.py file to read the input values given by the user, in splunk using django frame work.
After giving input data and on click of Submit button, I have to pass this input data from html file to python backend files, validate the input data in python backend files. This validated data should be converted in to an object. This object should be sent to another html file, and the results in the object should be displayed to the user.
My question is using django frame work,
1) How can I pass the input data given by the user from html file to python backend file on click of submit button?
2) How to manipulate the data in python backend file? I am not able to dubug the values stored in a variable in python backend file in views.py file. So how can i do it?
3) How to send the output data from python backend file to html file and display the output in the html file?

Kindly help me on this.

Tags (1)
0 Karma

vganjare
Builder
0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...