Re: Save partial state of a page when reloading

2019-10-13 Thread Robert Levasseur
Hi, I felt like I knew it was simple question haha, thanks so much for answering though! I will try all of these right away! Thank you again! On Saturday, October 12, 2019 at 12:15:00 AM UTC-4, WD Wang wrote: > > hi, > > I think It's not a django problem, it's a classic web developing problem.

Re: Save partial state of a page when reloading

2019-10-11 Thread wd
hi, I think It's not a django problem, it's a classic web developing problem. Http is stateless, if you want to 'save' something, you need to use 1. URL param like the 'q=soccer'. 2. Use cookie/session. I think your problem can be solved by one of the methods below: 1. Use ajax to do the search,

Save partial state of a page when reloading

2019-10-11 Thread Robert Levasseur
Hi, I'm very new to Django so this might be a silly question, but I'm having an issue with the filter functionality on my site's search page. I am using the django-haystack module to interface with the Whoosh search engine, and it functions by reloading the page while sending the query as a GE