Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: change proctorio redirect to static page #228

Merged
merged 1 commit into from
Dec 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading