You can now search for users or posts by making a POST request to /search with either the user or post argument set to your query string of choice. The query type and results are passed to the template at data["querytype"] and data["results"] respectively.
I added a very rudimentary "results" page template as an example and for debugging only, you can totally overhaul it for the front end as needed.
You can now search for users or posts by making a POST request to /search with either the
user
orpost
argument set to your query string of choice. The query type and results are passed to the template atdata["querytype"]
anddata["results"]
respectively.I added a very rudimentary "results" page template as an example and for debugging only, you can totally overhaul it for the front end as needed.