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
dafc045c
Commit
dafc045c
authored
Feb 26, 2015
by
Tom Christie
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2606 from tomchristie/1.8-beta
Formally upgrade suport to Django 1.8-beta
parents
6bbd509f
1b398a20
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
14 deletions
+8
-14
.travis.yml
+4
-4
README.md
+1
-1
docs/index.md
+1
-1
tests/test_parsers.py
+0
-6
tox.ini
+2
-2
No files found.
.travis.yml
View file @
dafc045c
...
...
@@ -21,10 +21,10 @@ env:
-
TOX_ENV=py26-django15
-
TOX_ENV=py27-django14
-
TOX_ENV=py26-django14
-
TOX_ENV=py34-django18
alph
a
-
TOX_ENV=py33-django18
alph
a
-
TOX_ENV=py32-django18
alph
a
-
TOX_ENV=py27-django18
alph
a
-
TOX_ENV=py34-django18
bet
a
-
TOX_ENV=py33-django18
bet
a
-
TOX_ENV=py32-django18
bet
a
-
TOX_ENV=py27-django18
bet
a
install
:
-
pip install tox
...
...
README.md
View file @
dafc045c
...
...
@@ -34,7 +34,7 @@ There is a live example API for testing purposes, [available here][sandbox].
# Requirements
*
Python (2.6.5+, 2.7, 3.2, 3.3, 3.4)
*
Django (1.4.11+, 1.5.6+, 1.6.3+, 1.7, 1.8-
alph
a)
*
Django (1.4.11+, 1.5.6+, 1.6.3+, 1.7, 1.8-
bet
a)
# Installation
...
...
docs/index.md
View file @
dafc045c
...
...
@@ -50,7 +50,7 @@ Some reasons you might want to use REST framework:
REST framework requires the following:
*
Python (2.6.5+, 2.7, 3.2, 3.3, 3.4)
*
Django (1.4.11+, 1.5.6+, 1.6.3+, 1.7)
*
Django (1.4.11+, 1.5.6+, 1.6.3+, 1.7
, 1.8-beta
)
The following packages are optional:
...
...
tests/test_parsers.py
View file @
dafc045c
...
...
@@ -99,11 +99,5 @@ class TestFileUploadParser(TestCase):
filename
=
parser
.
get_filename
(
self
.
stream
,
None
,
self
.
parser_context
)
self
.
assertEqual
(
filename
,
'ÀĥƦ.txt'
)
self
.
__replace_content_disposition
(
'inline; filename=fallback.txt; filename*=utf-8--ÀĥƦ.txt'
)
filename
=
parser
.
get_filename
(
self
.
stream
,
None
,
self
.
parser_context
)
# Malformed. Either None or 'fallback.txt' will be acceptable.
# See also https://code.djangoproject.com/ticket/24209
self
.
assertIn
(
filename
,
(
'fallback.txt'
,
None
))
def
__replace_content_disposition
(
self
,
disposition
):
self
.
parser_context
[
'request'
]
.
META
[
'HTTP_CONTENT_DISPOSITION'
]
=
disposition
tox.ini
View file @
dafc045c
...
...
@@ -3,7 +3,7 @@ envlist =
py27-{flake8,docs},
{py26,py27}-django14,
{py26,py27,py32,py33,py34}-django{15,16},
{py27,py32,py33,py34}-django{17,18
alph
a}
{py27,py32,py33,py34}-django{17,18
bet
a}
[testenv]
commands
=
./runtests.py --fast
...
...
@@ -14,7 +14,7 @@ deps =
django15:
Django
=
=1.5.6 # Should track minimum supported
django16:
Django
=
=1.6.3 # Should track minimum supported
django17:
Django
=
=1.7.2 # Should track maximum supported
django18
alpha:
https://www.djangoproject.com/download/1.8a
1/tarball/
django18
beta:
https://www.djangoproject.com/download/1.8b
1/tarball/
-rrequirements/requirements-testing.txt
-rrequirements/requirements-optionals.txt
...
...
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