
Reblogged by jsonstein@masto.deoan.org ("Jeff Sonstein"):
simon@simonwillison.net ("Simon Willison") wrote:
Wrote up some notes on trying out Aider, a neat open source Python terminal tool for working with codebases on disk via a variety of LLMs https://simonwillison.net/2024/Jul/31/aider/
Attachments:
- > /ask what does ?exclude.tag= do in the search feature? The ?exclude.tag= parameter in the search feature is used to exclude specific tags from the search results. Here's how it works in the code: 1 The excluded tags are retrieved from the request's GET parameters: excluded_tags = request.GET.getlist("exclude.tag") This line collects all the tags that should be excluded from the search results. The getlist() method is used because there might be multiple excluded tags. 2 These excluded tags are then applied to the queryset for each content type (Entry, Blogmark, Quotation) in the make_queryset() function: (remote)