Your code seems ok, with the exeption of the "value" key, which seems unnecessary when I read the documentation. Please try without it and check if it works.
Yeah that was just one of my attempts to get any default value but both sliders always at 0. I’ve tried using javascript to set the form values and move the sliders but none of that works.
I don’t get any javascript errors during the initialization but when I tried to use jQuery to set the default values on load, I would get an error that said something like “[Object object] has no attribute ‘slider’”;
I got curious and made some tests here. It seems that the slider will ignore any values passed as initial values unless the values of the model attributes. In your case, price_from and price_to.
You can assign default values on your model and it will work.