Esempio n. 1
0
from django.conf.urls import url

from lti_auth.views import LTIConfigView, LTILandingPage, LTIRoutingView, \
    LTICourseEnableView


urlpatterns = [
    url(r'^config.xml$', LTIConfigView.as_view(), {}, 'lti-config'),
    url(r'^enable/$', LTICourseEnableView.as_view(), {}, 'lti-enable-course'),
    url(r'^landing/(?P<context>\w[^/]*)/$',
        LTILandingPage.as_view(), {}, 'lti-landing-page'),
    url(r'^$', LTIRoutingView.as_view(), {}, 'lti-login'),
]
Esempio n. 2
0
from django.conf.urls import url

from lti_auth.views import LTIConfigView, LTILandingPage, LTIRoutingView, \
    LTICourseEnableView


urlpatterns = [
    url(r'^config.xml$', LTIConfigView.as_view(), {}, 'lti-config'),
    url(r'^landing/$', LTILandingPage.as_view(), {}, 'lti-landing-page'),
    url(r'^enable/$', LTICourseEnableView.as_view(), {}, 'lti-enable-course'),
    url(r'^$', LTIRoutingView.as_view(), {}, 'lti-login'),
]
Esempio n. 3
0
from django.urls import path

from lti_auth.views import LTIConfigView, LTILandingPage, LTIRoutingView, \
    LTICourseEnableView

urlpatterns = [
    path('config.xml', LTIConfigView.as_view(), {}, 'lti-config'),
    path('enable/', LTICourseEnableView.as_view(), {}, 'lti-enable-course'),
    path('landing/<slug:context>/', LTILandingPage.as_view(), {},
         'lti-landing-page'),
    path('', LTIRoutingView.as_view(), {}, 'lti-login'),
]