FAQ
| This is a
LIVE
service |
Changelog
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Django Raven WebAuth
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Information Services
DevOps
Django Libraries
Django Raven WebAuth
Commits
f83391b3
Unverified
Commit
f83391b3
authored
7 years ago
by
Dr Abraham Martin
Committed by
GitHub
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request
#2
from rjw57/django-2.0
fixes for Django 2.0
parents
f6d7eac1
176bc020
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.travis.yml
+4
-0
4 additions, 0 deletions
.travis.yml
setup.py
+1
-1
1 addition, 1 deletion
setup.py
ucamwebauth/migrations/0001_initial.py
+1
-1
1 addition, 1 deletion
ucamwebauth/migrations/0001_initial.py
ucamwebauth/utils.py
+4
-1
4 additions, 1 deletion
ucamwebauth/utils.py
with
10 additions
and
3 deletions
.travis.yml
+
4
−
0
View file @
f83391b3
...
...
@@ -8,10 +8,14 @@ env:
-
DJANGO="django>=1.8,<1.9"
-
DJANGO="django>=1.10,<1.11"
-
DJANGO="django>=1.11,<1.12"
-
DJANGO="django>=2.0,<2.1"
matrix
:
exclude
:
-
python
:
3.5
env
:
DJANGO="django>=1.7,<1.8"
exclude
:
-
python
:
2.7
env
:
DJANGO="django>=2.0,<2.1"
install
:
-
pip install $DJANGO
-
pip install -r requirements.txt
...
...
This diff is collapsed.
Click to expand it.
setup.py
+
1
−
1
View file @
f83391b3
...
...
@@ -10,7 +10,7 @@ setup(
url
=
'
https://git.csx.cam.ac.uk/x/ucs/raven/django-ucamwebauth.git
'
,
# When changing this version number, remember to update
# django-ucamwebauth.spec and debian/changelog.
version
=
'
1.4.
4
'
,
version
=
'
1.4.
5
'
,
license
=
'
MIT
'
,
author
=
'
Information Systems Group, University Information Services, University of Cambridge
'
,
author_email
=
'
raven-support@cam.ac.uk
'
,
...
...
This diff is collapsed.
Click to expand it.
ucamwebauth/migrations/0001_initial.py
+
1
−
1
View file @
f83391b3
...
...
@@ -17,7 +17,7 @@ class Migration(migrations.Migration):
fields
=
[
(
'
id
'
,
models
.
AutoField
(
serialize
=
False
,
auto_created
=
True
,
primary_key
=
True
,
verbose_name
=
'
ID
'
)),
(
'
raven_for_life
'
,
models
.
BooleanField
(
default
=
False
)),
(
'
user
'
,
models
.
OneToOneField
(
related_name
=
'
profile
'
,
to
=
settings
.
AUTH_USER_MODEL
)),
(
'
user
'
,
models
.
OneToOneField
(
related_name
=
'
profile
'
,
to
=
settings
.
AUTH_USER_MODEL
,
on_delete
=
models
.
CASCADE
)),
],
),
]
This diff is collapsed.
Click to expand it.
ucamwebauth/utils.py
+
4
−
1
View file @
f83391b3
...
...
@@ -8,7 +8,10 @@ except ImportError:
from
urllib.parse
import
parse_qs
,
unquote
from
django.conf
import
settings
from
django.http
import
HttpResponseRedirect
from
django.core.urlresolvers
import
reverse
try
:
from
django.urls
import
reverse
except
ImportError
:
from
django.core.urlresolvers
import
reverse
from
ucamwebauth.exceptions
import
MalformedResponseError
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment