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.
1 parent 8e339c0 commit b58e282Copy full SHA for b58e282
readthedocs/organizations/views/private.py
@@ -274,16 +274,16 @@ def get_queryset(self):
274
)
275
return self.filter.qs
276
277
- def _is_enabled(self, organization):
278
- return PlanFeature.objects.has_feature(
279
- organization,
280
- type=self.feature_type,
281
- )
282
-
283
def _get_retention_days_limit(self, organization):
284
"""From how many days we need to show data for this organization?"""
285
return PlanFeature.objects.get_feature_value(
286
organization,
287
type=self.feature_type,
288
default=settings.RTD_AUDITLOGS_DEFAULT_RETENTION_DAYS,
289
+
+ def _is_enabled(self, organization):
+ return PlanFeature.objects.has_feature(
+ organization,
+ type=self.feature_type,
+ )
0 commit comments