Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'master' into filters
Conflicts:
	rest_framework/compat.py
	rest_framework/filters.py
  • Loading branch information
lovelydinosaur committed Oct 19, 2015
commit 34eb18b498e20ab1f869365cca6880186d64e966
1 change: 1 addition & 0 deletions rest_framework/compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ def clean_manytomany_helptext(text):
text = text[:-69]
return text


# Django-guardian is optional. Import only if guardian is in INSTALLED_APPS
# Fixes (#1712). We keep the try/except for the test suite.
guardian = None
Expand Down
2 changes: 1 addition & 1 deletion rest_framework/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from django.utils.translation import ugettext_lazy as _

from rest_framework.compat import (
crispy_forms, distinct, django_filters, get_model_name, guardian
crispy_forms, distinct, django_filters, guardian
)
from rest_framework.settings import api_settings

Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.