mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-02-02 20:54:42 +03:00
Include paragraph around view description in browable API
This commit is contained in:
parent
4d287c7aef
commit
f13fcba9a9
|
@ -2,12 +2,10 @@
|
||||||
Utility functions to return a formatted name and description for a given view.
|
Utility functions to return a formatted name and description for a given view.
|
||||||
"""
|
"""
|
||||||
from __future__ import unicode_literals
|
from __future__ import unicode_literals
|
||||||
import re
|
|
||||||
|
|
||||||
from django.utils.html import escape
|
from django.utils.html import escape
|
||||||
from django.utils.safestring import mark_safe
|
from django.utils.safestring import mark_safe
|
||||||
|
|
||||||
from rest_framework.compat import apply_markdown, force_text
|
from rest_framework.compat import apply_markdown, force_text
|
||||||
|
import re
|
||||||
|
|
||||||
|
|
||||||
def remove_trailing_string(content, trailing):
|
def remove_trailing_string(content, trailing):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user