-
-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add trademark search, update db, send email django management command #3080
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 suggestions.
Comments skipped due to low confidence (1)
website/management/commands/check_trademarks.py:47
- Ensure that the new behavior of checking trademarks and sending alerts is covered by tests.
class Command(BaseCommand):
resolved |
website/models.py
Outdated
@@ -123,6 +123,7 @@ class Company(models.Model): | |||
is_active = models.BooleanField(default=False) | |||
tags = models.ManyToManyField(Tag, blank=True) | |||
integrations = models.ManyToManyField(Integration, related_name="companies") | |||
trademark = models.IntegerField(default=0) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please call this trademark_count and add a new field trademark_check_date with datetime of the last check and only check every week.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
two changes please
fixes: #1025