diff options
| author | Tom Christie | 2015-01-14 13:20:02 +0000 | 
|---|---|---|
| committer | Tom Christie | 2015-01-14 13:20:02 +0000 | 
| commit | f13fcba9a9f41f7e00e0ea8956fcc65ca168c76c (patch) | |
| tree | b9fb37a8543575a53843b9baae637cecb3f6b365 | |
| parent | 4d287c7aef7b12086930eeb7a05cadb7e8b2cc48 (diff) | |
| download | django-rest-framework-f13fcba9a9f41f7e00e0ea8956fcc65ca168c76c.tar.bz2 | |
Include paragraph around view description in browable API
| -rw-r--r-- | rest_framework/utils/formatting.py | 4 | 
1 files changed, 1 insertions, 3 deletions
| diff --git a/rest_framework/utils/formatting.py b/rest_framework/utils/formatting.py index 173848df..8b6f005e 100644 --- a/rest_framework/utils/formatting.py +++ b/rest_framework/utils/formatting.py @@ -2,12 +2,10 @@  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 rest_framework.compat import apply_markdown, force_text +import re  def remove_trailing_string(content, trailing): | 
