Skip to content
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

Closed
wants to merge 10 commits into from

Conversation

drvcodenta
Copy link
Contributor

fixes: #1025

@drvcodenta drvcodenta marked this pull request as ready for review December 10, 2024 06:37
@DonnieBLT DonnieBLT requested a review from Copilot December 11, 2024 15:39
Copy link

@Copilot Copilot AI left a 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):

website/management/commands/check_trademarks.py Outdated Show resolved Hide resolved
website/management/commands/check_trademarks.py Outdated Show resolved Hide resolved
@drvcodenta
Copy link
Contributor Author

resolved

@@ -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)
Copy link
Collaborator

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok

Copy link
Collaborator

Choose a reason for hiding this comment

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

Thank you!

Copy link
Collaborator

@DonnieBLT DonnieBLT left a comment

Choose a reason for hiding this comment

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

two changes please

@drvcodenta drvcodenta marked this pull request as draft December 15, 2024 11:37
@drvcodenta drvcodenta closed this Dec 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Develop a cron task that will parse through the domains and search the trademark system
2 participants