diff --git a/corres2math/settings.py b/corres2math/settings.py index ab0b9eb..0b53117 100644 --- a/corres2math/settings.py +++ b/corres2math/settings.py @@ -60,6 +60,7 @@ INSTALLED_APPS = [ 'polymorphic', 'rest_framework', 'rest_framework.authtoken', + 'cas_server', 'api', 'eastereggs', diff --git a/corres2math/urls.py b/corres2math/urls.py index 0a2085c..b28e27b 100644 --- a/corres2math/urls.py +++ b/corres2math/urls.py @@ -35,6 +35,8 @@ urlpatterns = [ path('media/authorization/photo//', PhotoAuthorizationView.as_view(), name='photo_authorization'), + path('cas/', include('cas_server.urls', namespace="cas_server")), + path('', include('eastereggs.urls')), ] diff --git a/requirements.txt b/requirements.txt index 5a9bb99..086f289 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,6 @@ Django~=3.0 django-bootstrap-datepicker-plus +django-cas-server django-crispy-forms django-extensions django-filter