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
b2fcfffb
Commit
b2fcfffb
authored
Jan 31, 2012
by
Tom Christie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
django-staticfiles for Django 1.2 compatability
parent
497d6df5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
3 deletions
+12
-3
djangorestframework/runtests/settings.py
+6
-0
tox.ini
+6
-3
No files found.
djangorestframework/runtests/settings.py
View file @
b2fcfffb
...
@@ -97,6 +97,12 @@ INSTALLED_APPS = (
...
@@ -97,6 +97,12 @@ INSTALLED_APPS = (
'djangorestframework'
,
'djangorestframework'
,
)
)
import
django
if
django
.
VERSION
<
(
1
,
3
):
INSTALLED_APPS
+=
(
'staticfiles'
,)
# OAuth support is optional, so we only test oauth if it's installed.
# OAuth support is optional, so we only test oauth if it's installed.
try
:
try
:
import
oauth_provider
import
oauth_provider
...
...
tox.ini
View file @
b2fcfffb
...
@@ -32,9 +32,9 @@ commands=
...
@@ -32,9 +32,9 @@ commands=
basepython
=
python2.5
basepython
=
python2.5
deps
=
deps
=
django
=
=1.2.4
django
=
=1.2.4
django-staticfiles>=1.1.2
coverage
=
=3.4
coverage
=
=3.4
URLObject>=0.6.0
URLObject>=0.6.0
django-staticfiles>=1.1.2
unittest-xml-reporting
=
=1.2
unittest-xml-reporting
=
=1.2
Pyyaml
=
=3.10
Pyyaml
=
=3.10
# Optional packages:
# Optional packages:
...
@@ -44,9 +44,9 @@ deps=
...
@@ -44,9 +44,9 @@ deps=
basepython
=
python2.6
basepython
=
python2.6
deps
=
deps
=
django
=
=1.2.4
django
=
=1.2.4
django-staticfiles>=1.1.2
coverage
=
=3.4
coverage
=
=3.4
URLObject>=0.6.0
URLObject>=0.6.0
django-staticfiles>=1.1.2
unittest-xml-reporting
=
=1.2
unittest-xml-reporting
=
=1.2
Pyyaml
=
=3.10
Pyyaml
=
=3.10
# Optional packages:
# Optional packages:
...
@@ -56,9 +56,9 @@ deps=
...
@@ -56,9 +56,9 @@ deps=
basepython
=
python2.7
basepython
=
python2.7
deps
=
deps
=
django
=
=1.2.4
django
=
=1.2.4
django-staticfiles>=1.1.2
coverage
=
=3.4
coverage
=
=3.4
URLObject>=0.6.0
URLObject>=0.6.0
django-staticfiles>=1.1.2
unittest-xml-reporting
=
=1.2
unittest-xml-reporting
=
=1.2
Pyyaml
=
=3.10
Pyyaml
=
=3.10
# Optional packages:
# Optional packages:
...
@@ -138,6 +138,7 @@ commands=
...
@@ -138,6 +138,7 @@ commands=
python
examples/runtests.py
python
examples/runtests.py
deps
=
deps
=
django
=
=1.2.4
django
=
=1.2.4
django-staticfiles>=1.1.2
coverage
=
=3.4
coverage
=
=3.4
URLObject>=0.6.0
URLObject>=0.6.0
wsgiref
=
=0.1.2
wsgiref
=
=0.1.2
...
@@ -153,6 +154,7 @@ commands=
...
@@ -153,6 +154,7 @@ commands=
python
examples/runtests.py
python
examples/runtests.py
deps
=
deps
=
django
=
=1.2.4
django
=
=1.2.4
django-staticfiles>=1.1.2
coverage
=
=3.4
coverage
=
=3.4
URLObject>=0.6.0
URLObject>=0.6.0
wsgiref
=
=0.1.2
wsgiref
=
=0.1.2
...
@@ -168,6 +170,7 @@ commands=
...
@@ -168,6 +170,7 @@ commands=
python
examples/runtests.py
python
examples/runtests.py
deps
=
deps
=
django
=
=1.2.4
django
=
=1.2.4
django-staticfiles>=1.1.2
coverage
=
=3.4
coverage
=
=3.4
URLObject>=0.6.0
URLObject>=0.6.0
wsgiref
=
=0.1.2
wsgiref
=
=0.1.2
...
...
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