Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
django-rest-framework
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
edx
django-rest-framework
Commits
ed0bd195
Commit
ed0bd195
authored
May 18, 2013
by
Xavier Ordoquy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated the dependencies version and added the ALLOWED_HOSTS for tests.
parent
b950b025
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
8 deletions
+11
-8
.travis.yml
+9
-8
rest_framework/runtests/settings.py
+2
-0
No files found.
.travis.yml
View file @
ed0bd195
...
@@ -7,9 +7,9 @@ python:
...
@@ -7,9 +7,9 @@ python:
-
"
3.3"
-
"
3.3"
env
:
env
:
-
DJANGO="django==1.5 --use-mirrors"
-
DJANGO="django==1.5
.1
--use-mirrors"
-
DJANGO="django==1.4.
3
--use-mirrors"
-
DJANGO="django==1.4.
5
--use-mirrors"
-
DJANGO="django==1.3.
5
--use-mirrors"
-
DJANGO="django==1.3.
7
--use-mirrors"
install
:
install
:
-
pip install $DJANGO
-
pip install $DJANGO
...
@@ -18,7 +18,7 @@ install:
...
@@ -18,7 +18,7 @@ install:
-
"
if
[[
${TRAVIS_PYTHON_VERSION::1}
!=
'3'
]];
then
pip
install
django-oauth-plus==2.0
--use-mirrors;
fi"
-
"
if
[[
${TRAVIS_PYTHON_VERSION::1}
!=
'3'
]];
then
pip
install
django-oauth-plus==2.0
--use-mirrors;
fi"
-
"
if
[[
${TRAVIS_PYTHON_VERSION::1}
!=
'3'
]];
then
pip
install
django-oauth2-provider==0.2.3
--use-mirrors;
fi"
-
"
if
[[
${TRAVIS_PYTHON_VERSION::1}
!=
'3'
]];
then
pip
install
django-oauth2-provider==0.2.3
--use-mirrors;
fi"
-
"
if
[[
${DJANGO::11}
==
'django==1.3'
]];
then
pip
install
django-filter==0.5.4
--use-mirrors;
fi"
-
"
if
[[
${DJANGO::11}
==
'django==1.3'
]];
then
pip
install
django-filter==0.5.4
--use-mirrors;
fi"
-
"
if
[[
${DJANGO::11}
!=
'django==1.3'
]];
then
pip
install
django-filter==0.6
a1
--use-mirrors;
fi"
-
"
if
[[
${DJANGO::11}
!=
'django==1.3'
]];
then
pip
install
django-filter==0.6
--use-mirrors;
fi"
-
export PYTHONPATH=.
-
export PYTHONPATH=.
script
:
script
:
...
@@ -27,10 +27,11 @@ script:
...
@@ -27,10 +27,11 @@ script:
matrix
:
matrix
:
exclude
:
exclude
:
-
python
:
"
3.2"
-
python
:
"
3.2"
env
:
DJANGO="django==1.4.
3
--use-mirrors"
env
:
DJANGO="django==1.4.
5
--use-mirrors"
-
python
:
"
3.2"
-
python
:
"
3.2"
env
:
DJANGO="django==1.3.
5
--use-mirrors"
env
:
DJANGO="django==1.3.
7
--use-mirrors"
-
python
:
"
3.3"
-
python
:
"
3.3"
env
:
DJANGO="django==1.4.
3
--use-mirrors"
env
:
DJANGO="django==1.4.
5
--use-mirrors"
-
python
:
"
3.3"
-
python
:
"
3.3"
env
:
DJANGO="django==1.3.5 --use-mirrors"
env
:
DJANGO="django==1.3.7 --use-mirrors"
rest_framework/runtests/settings.py
View file @
ed0bd195
...
@@ -4,6 +4,8 @@ DEBUG = True
...
@@ -4,6 +4,8 @@ DEBUG = True
TEMPLATE_DEBUG
=
DEBUG
TEMPLATE_DEBUG
=
DEBUG
DEBUG_PROPAGATE_EXCEPTIONS
=
True
DEBUG_PROPAGATE_EXCEPTIONS
=
True
ALLOWED_HOSTS
=
[
'*'
]
ADMINS
=
(
ADMINS
=
(
# ('Your Name', 'your_email@domain.com'),
# ('Your Name', 'your_email@domain.com'),
)
)
...
...
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