How to store data typed by user into input using Django

Im kinda new to django and i got stuck

I want to get user input, and after that i want to display value which depend on it

For example in djanog i have if statment which checking input from user, for exaple car model.

So, when user type Ibiza i want to display "Seat", user type E92 i want to dispaly "BMW" etc I want to display car brands in list which can be cleard or dissapear after user close tab and re-open.

Which solution is the best? Database in django? Cookies? Local storage in javascript?

Learn how to use forms in Django. They are responsible for taking in user input. A lot of Tutorials online.

Back to Top