diff options
| author | Tom Christie | 2012-01-31 09:05:52 +0000 |
|---|---|---|
| committer | Tom Christie | 2012-01-31 09:05:52 +0000 |
| commit | b2fcfffb3bdaed89d39ee563c58dc0ede5e857ac (patch) | |
| tree | ec8c6626444666614b42c3d963e78718f749e5a3 /djangorestframework/runtests | |
| parent | 497d6df5e578b3ee750c65de7265b87fce2b0c7c (diff) | |
| download | django-rest-framework-b2fcfffb3bdaed89d39ee563c58dc0ede5e857ac.tar.bz2 | |
django-staticfiles for Django 1.2 compatability
Diffstat (limited to 'djangorestframework/runtests')
| -rw-r--r-- | djangorestframework/runtests/settings.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/djangorestframework/runtests/settings.py b/djangorestframework/runtests/settings.py index 07855fa7..25f77111 100644 --- a/djangorestframework/runtests/settings.py +++ b/djangorestframework/runtests/settings.py @@ -97,6 +97,12 @@ INSTALLED_APPS = ( 'djangorestframework', ) +import django + +if django.VERSION < (1, 3): + INSTALLED_APPS += ('staticfiles',) + + # OAuth support is optional, so we only test oauth if it's installed. try: import oauth_provider |
