mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-22 17:47:04 +03:00
Use force_text from compat
This commit is contained in:
parent
3e20b0110c
commit
c9d4497d81
|
@ -2,13 +2,12 @@
|
|||
Utility functions to return a formatted name and description for a given view.
|
||||
"""
|
||||
from __future__ import unicode_literals
|
||||
import re
|
||||
|
||||
from django.utils.html import escape
|
||||
from django.utils.safestring import mark_safe
|
||||
from django.utils.encoding import force_text
|
||||
|
||||
from rest_framework.compat import apply_markdown
|
||||
import re
|
||||
from rest_framework.compat import apply_markdown, force_text
|
||||
|
||||
|
||||
def remove_trailing_string(content, trailing):
|
||||
|
|
Loading…
Reference in New Issue
Block a user