Fixed #25331 -- Removed trailing blank lines in docstrings.

This commit is contained in:
Maxime Lorant 2015-08-31 22:14:35 +02:00 committed by Tim Graham
parent d4b10a7256
commit 5153a3bfdc
60 changed files with 5 additions and 123 deletions

View file

@ -71,7 +71,6 @@ A model with useful documentation might look like this::
"""
Stores a single blog entry, related to :model:`blog.Blog` and
:model:`auth.User`.
"""
slug = models.SlugField(help_text="A short label, generally used in URLs.")
author = models.ForeignKey(
@ -115,7 +114,6 @@ For example::
**Template:**
:template:`myapp/my_template.html`
"""
context = {'mymodel': MyModel.objects.get(slug=slug)}
return render(request, 'myapp/my_template.html', context)