Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Rex Dri
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
32
Issues
32
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Rex Dri
Rex Dri
Commits
54300f58
Commit
54300f58
authored
Feb 10, 2019
by
Florent Chehab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update django CAS NG
Fixes #9
parent
d455016d
Pipeline
#34851
passed with stages
in 4 minutes and 32 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
backend/base_app/urls.py
backend/base_app/urls.py
+3
-3
backend/requirements.txt
backend/requirements.txt
+2
-2
No files found.
backend/base_app/urls.py
View file @
54300f58
...
...
@@ -17,9 +17,9 @@ urlpatterns += [
# TODO remove this before going to full prod
url
(
r"^role_change/"
,
views
.
role_change
),
url
(
r"^admin/"
,
admin
.
site
.
urls
),
url
(
r"^user/login$"
,
django_cas_ng
.
views
.
login
,
name
=
"cas_ng_login"
),
url
(
r"^user/logout$"
,
django_cas_ng
.
views
.
logout
,
name
=
"cas_ng_logout"
),
url
(
r"^user/callback$"
,
django_cas_ng
.
views
.
callback
,
name
=
"cas_ng_proxy_callback"
),
url
(
r"^user/login$"
,
django_cas_ng
.
views
.
LoginView
.
as_view
()
,
name
=
"cas_ng_login"
),
url
(
r"^user/logout$"
,
django_cas_ng
.
views
.
LogoutView
.
as_view
()
,
name
=
"cas_ng_logout"
),
url
(
r"^user/callback$"
,
django_cas_ng
.
views
.
CallbackView
.
as_view
()
,
name
=
"cas_ng_proxy_callback"
),
url
(
r"^app/.*"
,
include
(
"frontend_app.urls"
)),
url
(
r"^$"
,
RedirectView
.
as_view
(
url
=
"./app/"
),
name
=
"go to real home"
),
url
(
r""
,
include
(
"backend_app.urls"
)),
...
...
backend/requirements.txt
View file @
54300f58
#OutGoing_REX
Django==2.0.10
psycopg2-binary==2.7.4
git+https://github.com/mingchen/django-cas-ng.git@e9c0472e326087bfb839487f0736a4e1454cffda#egg=django-cas-ng
django-cas-ng==3.6.0
djangorestframework==3.8.2 # Django REST Framework
coreapi==2.3.3 # Automatic API doc generation
django-reversion==2.0.13
...
...
@@ -17,4 +17,4 @@ pyyaml
git+https://github.com/FloChehab/django-extensions.git@30c1a807aeb985739358d70907496e98d1857abb#egg=django-extensions
uwsgi
dotmap
django-webpack-loader==0.6.0
\ No newline at end of file
django-webpack-loader==0.6.0
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment