Django: how to take input as range and store it in the database?

I am beginner in django and thinking to create a website that asks the user for input (the input here is an hour range) and store it in the data base e.g. A slider that ranges from 5am till 9pm the user can set the start and end for example 7am-9am and submit it and then it will be stored in the database

I am not sure how to appriach it also how will it be stored in the database as a single entry or multiple entries your help is much appreciated

I have been trying continuously to search for tutorials, vidoes, articles, even any piece of information here and there that could give me the kickstart but I failed

Back to Top