Skip to content
This repository was archived by the owner on May 25, 2026. It is now read-only.

add docs for QSet filters#98

Merged
makridenko merged 2 commits into
makridenko:masterfrom
AlexPozh:docs/84
Aug 5, 2025
Merged

add docs for QSet filters#98
makridenko merged 2 commits into
makridenko:masterfrom
AlexPozh:docs/84

Conversation

@AlexPozh

Copy link
Copy Markdown
Contributor

closes #84

@makridenko makridenko left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you!

Comment thread docs/filters_usage.md
Comment thread docs/filters_usage.md
Comment on lines +102 to +108
```python
books = (
Book.objects
.filter(genre="Novel")
.filter(count_pages__gt=600)
.filter(author_id=5)
)

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's add to example that you can combine filter and exclude methods

Comment thread docs/filters_usage.md
Comment thread mkdocs.yml

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it would be nice to add links from filter and exclude docs to that page

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it would be nice to add links from filter and exclude docs to that page

do u mean from API docs?

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep

question.

Is it better to make link to methods e.g. set_greater_than, set_less_than or properties?

@makridenko

Copy link
Copy Markdown
Owner

@AlexPozh thank you!

@makridenko makridenko merged commit 458c94b into makridenko:master Aug 5, 2025
9 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

add filters section to documentation

2 participants