summaryrefslogtreecommitdiff
path: root/stats/urls.py
diff options
context:
space:
mode:
authorPalaparthy Adityachandra2020-11-07 19:07:36 +0530
committerGitHub2020-11-07 19:07:36 +0530
commit39a13424ad5b5d59044bec27530bdad1ccf12c25 (patch)
tree886f3277e1f2399eafa8ff596c72c904aaae18f8 /stats/urls.py
parent5d320e054cd125582c56a6c25a70ba57f1cccbce (diff)
parentd09ff51b6c957137e705fee73f1808c6333eed7f (diff)
downloadonline_test-39a13424ad5b5d59044bec27530bdad1ccf12c25.tar.gz
online_test-39a13424ad5b5d59044bec27530bdad1ccf12c25.tar.bz2
online_test-39a13424ad5b5d59044bec27530bdad1ccf12c25.zip
Merge pull request #794 from adityacp/video_tracking
Basic tracking for video lessons
Diffstat (limited to 'stats/urls.py')
-rw-r--r--stats/urls.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/stats/urls.py b/stats/urls.py
new file mode 100644
index 0000000..f11148f
--- /dev/null
+++ b/stats/urls.py
@@ -0,0 +1,12 @@
+from django.urls import path
+from stats import views
+
+
+app_name = "stats"
+
+urlpatterns = [
+ path('submit/video/watch/<int:tracker_id>',
+ views.add_tracker, name='add_tracker'),
+ path('view/watch/stats/<int:course_id>/<int:lesson_id>',
+ views.view_lesson_watch_stats, name='view_lesson_watch_stats'),
+]