Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
django-openid-auth
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
django-openid-auth
Commits
b1bbc462
Commit
b1bbc462
authored
Jan 07, 2011
by
Anthony Lenton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
settings and setup fix per code review.
parent
c0a75d48
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
example_consumer/settings.py
+5
-4
setup.py
+1
-1
No files found.
example_consumer/settings.py
View file @
b1bbc462
...
...
@@ -87,10 +87,11 @@ TEMPLATE_LOADERS = (
)
# django-openid-auth will *not* work with Django 1.1.1 or older, as it's
# missing the csrf_token template tag. It will work with Lucid's django
# though, as that has a bunch of backported features from 1.1.2.
import
django
if
float
(
django
.
get_version
()[:
3
])
<
1.2
:
# missing the csrf_token template tag. This will allow it to work with
# Django 1.1.2 or later:
try
:
import
django.middleware.csrf
except
ImportError
:
csrf_middleware
=
'django.contrib.csrf.middleware.CsrfViewMiddleware'
else
:
csrf_middleware
=
'django.middleware.csrf.CsrfViewMiddleware'
...
...
setup.py
View file @
b1bbc462
...
...
@@ -76,5 +76,5 @@ setup(
'django_openid_auth'
:
[
'templates/openid/*.html'
],
},
provides
=
[
'django_openid_auth'
],
requires
=
[
'django (>=1.2)'
,
'openid (>=2.2.0)'
],
requires
=
[
'django (>=1.
1.
2)'
,
'openid (>=2.2.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