Skip to content

Commit 6518f86

Browse files
committed
Degrade docs because I can't put a flake8 ignore :'(
1 parent 57a6e26 commit 6518f86

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

debug_toolbar/panels/__init__.py

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -141,32 +141,26 @@ def get_stats(self):
141141

142142
def process_request(self, request):
143143
"""
144-
Like process_request_ in Django's middleware.
144+
Like process_request in Django's middleware.
145145
146146
Write panel logic related to the request there. Save data with
147147
:meth:`record_stats`.
148-
149-
.. _process_request: https://docs.djangoproject.com/en/stable/topics/http/middleware/#process-request
150148
"""
151149

152150
def process_view(self, request, view_func, view_args, view_kwargs):
153151
"""
154-
Like process_view_ in Django's middleware.
152+
Like process_view in Django's middleware.
155153
156154
Write panel logic related to the view there. Save data with
157155
:meth:`record_stats`.
158-
159-
.. _process_view: https://docs.djangoproject.com/en/stable/topics/http/middleware/#process-request
160156
"""
161157

162158
def process_response(self, request, response):
163159
"""
164-
Like process_response_ in Django's middleware.
160+
Like process_response in Django's middleware.
165161
166162
Write panel logic related to the response there. Post-process data
167163
gathered while the view executed. Save data with :meth:`record_stats`.
168-
169-
.. _process_response: https://docs.djangoproject.com/en/stable/topics/http/middleware/#process-request
170164
"""
171165

172166

debug_toolbar/panels/redirects.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,3 @@ def process_response(self, request, response):
3636
response = render(request, 'debug_toolbar/redirect.html', context)
3737
response.cookies = cookies
3838
return response
39-

0 commit comments

Comments
 (0)