fix collection guides
This commit is contained in:
parent
4880b2629d
commit
754b6d5b4f
|
|
@ -165,7 +165,7 @@ class GuideQuerySet(models.QuerySet):
|
|||
|
||||
def with_base_related(self):
|
||||
"""Return QuerySet with related."""
|
||||
return self.select_related('guide_type', 'site')
|
||||
return self.select_related('site', )
|
||||
|
||||
def by_country_id(self, country_id):
|
||||
"""Return QuerySet filtered by country code."""
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user