Skip to content

Commit

Permalink
feat: change proctorio redirect to static page
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharis278 committed Dec 18, 2023
1 parent a6697a2 commit bc57c8e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions edx_exams/templates/proctorio_download.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
loading Proctorio extension...
4 changes: 2 additions & 2 deletions edx_exams/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
from django.conf import settings
from django.contrib import admin
from django.urls import include, path
from django.views.generic import RedirectView
from django.views.generic import TemplateView
from edx_api_doc_tools import make_api_info, make_docs_urls

from edx_exams.apps.api import urls as api_urls
Expand All @@ -40,7 +40,7 @@
path('lti/', include('lti_consumer.plugin.urls')),
# url for the exam inside the Proctorio browser extension the browser will fall through
# to this redirect if the browser extension is not installed
path('browser_lock/', RedirectView.as_view(url='https://getproctorio.com'), name='browser_lock'),
path('browser_lock/', TemplateView.as_view(template_name='proctorio_download.html'), name='browser_lock'),
]

if settings.DEBUG and os.environ.get('ENABLE_DJANGO_TOOLBAR', False): # pragma: no cover
Expand Down

0 comments on commit bc57c8e

Please sign in to comment.