Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1295 from openedx/mroytman/MST-1329-release-video…
Browse files Browse the repository at this point in the history
…-v1-endpoints

feat: switch EngagementVideoContentTemplateView and CourseEngagementVideoTimelineCSV  to v1 as default
  • Loading branch information
michaelroytman authored Apr 20, 2022
2 parents 62e2d7a + 00c00de commit 9eca2ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion analytics_dashboard/courses/views/csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def get_data(self):
return self.course.activity(data_format=data_formats.CSV, end_date=end_date)


class CourseEngagementVideoTimelineCSV(AnalyticsV0Mixin, CourseCSVResponseMixin, CourseView):
class CourseEngagementVideoTimelineCSV(AnalyticsV1Mixin, CourseCSVResponseMixin, CourseView):
csv_filename_suffix = 'engagement-video-timeline'

def get_data(self):
Expand Down
3 changes: 1 addition & 2 deletions analytics_dashboard/courses/views/engagement.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
CourseStructureExceptionMixin,
CourseStructureMixin,
CourseTemplateWithNavView,
AnalyticsV0Mixin,
AnalyticsV1Mixin,
)

Expand Down Expand Up @@ -91,7 +90,7 @@ def get_context_data(self, **kwargs):
return context


class EngagementVideoContentTemplateView(AnalyticsV0Mixin, CourseStructureMixin, CourseStructureExceptionMixin,
class EngagementVideoContentTemplateView(AnalyticsV1Mixin, CourseStructureMixin, CourseStructureExceptionMixin,
EngagementTemplateView):
page_title = _('Engagement Videos')
active_secondary_nav_item = 'videos'
Expand Down

0 comments on commit 9eca2ed

Please sign in to comment.