What would be the best way to implement a slider bar with django?

45 views
Skip to first unread message

Geoffrey

unread,
Aug 28, 2018, 3:00:39 PM8/28/18
to Django users
Hello,

I'm a complete noob with django and web development in general, but I'm trying to figure out how one would go about implementing widgets on my website such a slider bars that can make use of the data stored in the django databases. For example, if my database stores a bunch of values, I might want to extract the minimum and maximum values and create a slider bar with those values as the min and max.The user would select a value using the slider and then the value would need to be saved to be used on other pages. I've gotten a slider bar widget to work using jQuery code I found online, but I'm not sure how I would connect this to the data being stored within the django framework or if that would even be the right strategy. Any tips you could give me would be extremely helpful!


augustine tharakan

unread,
Aug 29, 2018, 7:16:15 AM8/29/18
to Django users
you can use post request using ajax to send the data to the server and when you reload the page the data can be read from the server.

For more info go to this link
Reply all
Reply to author
Forward
0 new messages