8000 Remove references to django-crispy-forms (#6600) · cscutcher/django-rest-framework@6aac9d2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6aac9d2

Browse files
ataylor32rpkilby
authored andcommitted
Remove references to django-crispy-forms (encode#6600)
1 parent b37aa28 commit 6aac9d2

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

docs/index.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ The following packages are optional:
9595
* [coreapi][coreapi] (1.32.0+) - Schema generation support.
9696
* [Markdown][markdown] (2.6.0+) - Markdown support for the browsable API.
9797
* [django-filter][django-filter] (1.0.1+) - Filtering support.
98-
* [django-crispy-forms][django-crispy-forms] - Improved HTML display for filtering.
9998
* [django-guardian][django-guardian] (1.1.1+) - Object level permissions support.
10099

101100
## Installation
@@ -239,7 +238,6 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
239238
[coreapi]: https://pypi.org/project/coreapi/
240239
[markdown]: https://pypi.org/project/Markdown/
241240
[django-filter]: https://pypi.org/project/django-filter/
242-
[django-crispy-forms]: https://github.com/maraujop/django-crispy-forms
243241
[django-guardian]: https://github.com/django-guardian/django-guardian
244242
[index]: .
245243
[oauth1-section]: api-guide/authentication/#django-rest-framework-oauth

rest_framework/compat.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -116,13 +116,6 @@ def distinct(queryset, base):
116116
yaml = None
117117

118118

119-
# django-crispy-forms is optional
120-
try:
121-
import crispy_forms
122-
except ImportError:
123-
crispy_forms = None
124-
125-
126119
# requests is optional
127120
try:
128121
import requests

0 commit comments

Comments
 (0)
0