We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f65c013 + 545e01b commit f271181Copy full SHA for f271181
sde_collections/models/collection.py
@@ -19,7 +19,6 @@
19
format_slack_message,
20
send_slack_message,
21
)
22
-from .candidate_url import CandidateURL
23
from .collection_choice_fields import (
24
ConnectorChoices,
25
CurationStatusChoices,
@@ -111,7 +110,7 @@ def add_to_public_query(self):
111
110
112
@property
113
def included_urls_count(self):
114
- return CandidateURL.objects.filter(collection=self, excluded=False).count()
+ return self.candidate_urls.filter(excluded=False).count()
115
116
117
def _scraper_config_path(self) -> str:
0 commit comments