Skip to content

Tool-picker: Add models#8

Merged
AdityaKhatri merged 4 commits intodevelopfrom
feat/add-tool-feature
Feb 18, 2026
Merged

Tool-picker: Add models#8
AdityaKhatri merged 4 commits intodevelopfrom
feat/add-tool-feature

Conversation

@sudip-khanal
Copy link
Copy Markdown
Contributor

Changes

  • Add models
  • Update seed data
  • Add README

This PR doesn't introduce any:

  • temporary files, auto-generated files or secret keys
  • n+1 queries
  • flake8 issues
  • print
  • typos
  • unwanted comments

This PR contains valid:

  • tests
  • permission checks (tests here too)

- Add sector tool feature and display category models
Comment thread apps/tool_picker/models.py Outdated
return self.name


# TODO: Should we rename DisplayCategory to ToolCategory?
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This is not needed

Comment thread apps/tool_picker/models.py Outdated
blank=True,
)
tool_sectors = models.ManyToManyField(Sector, related_name="tool_sectors", blank=True)
display_categories = models.ManyToManyField(DisplayCategory, related_name="tool_display_categories", blank=True)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

removee

- Add tool_owner M2M field on the Tool model
- Update seed data
@AdityaKhatri AdityaKhatri merged commit 0928f0d into develop Feb 18, 2026
2 checks passed
@AdityaKhatri AdityaKhatri deleted the feat/add-tool-feature branch February 18, 2026 04:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants