fix docstring, is for class, not method
This commit is contained in:
parent
182671783d
commit
117b34d4c9
@ -316,9 +316,6 @@ class RobotsTxtView(View):
|
|||||||
"""
|
"""
|
||||||
Dynamically serve robots.txt content.
|
Dynamically serve robots.txt content.
|
||||||
If you like, you can optimize this by statically serving this by your web server.
|
If you like, you can optimize this by statically serving this by your web server.
|
||||||
|
|
||||||
:param request: django request object
|
|
||||||
:return: HttpResponse object
|
|
||||||
"""
|
"""
|
||||||
def get(self, request):
|
def get(self, request):
|
||||||
content = """\
|
content = """\
|
||||||
|
Loading…
x
Reference in New Issue
Block a user