Search functionality on /my
If I have a lot of links and I wish to search for one, there's not really a lot to go by without remembering either the shortlink or something in the url. (And if I remembered either of those things I'd probably not need to do a search.)
- Modify the URL model to include a title charfield and a summary textfield. (at the very least... include more at your discretion)
- We don't want users to wait for the requests for this information to be pulled from the site, so either implement it in js to fill user-hidden fields to run as the user is filling out the other parts of the link form, or write it to run in the after the object creation save and redirect. (Do the first one instead of dealing with asynch stuff.)
I realized that you'd necessarily also need to create a search page-- check out the documentation here https://django-haystack.readthedocs.io/en/master/ and the implementation in roomlist for more information.