change facts_recent to facts_latest

This commit is contained in:
Chris Meyers
2017-04-05 16:50:38 -04:00
parent 02795e526c
commit ee09bca558
6 changed files with 22 additions and 22 deletions

View File

@@ -1835,11 +1835,11 @@ class HostFactCompareView(SystemTrackingEnforcementMixin, SubDetailAPIView):
return Response(self.serializer_class(instance=fact_entry).data)
class HostFactsRecentList(SubListAPIView):
class HostFactsLatestList(SubListAPIView):
model = FactRecent
model = FactLatest
parent_model = Host
relationship = 'facts_recent'
relationship = 'facts_latest'
serializer_class = FactSerializer
new_in_320 = True