Skip to content

Commit 15a0da2

Browse files
committed
Add handler500 to good_names
1 parent cf887d5 commit 15a0da2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pylint_django/plugin.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ def register(linter):
1616
However, we will also use it to amend existing checker config.
1717
"""
1818
name_checker = get_checker(linter, NameChecker)
19-
name_checker.config.good_names += ('qs', 'urlpatterns', 'register', 'app_name')
19+
name_checker.config.good_names += ('qs', 'urlpatterns', 'register', 'app_name',
20+
'handler500')
2021

2122
# we don't care about South migrations
2223
linter.config.black_list += ('migrations', 'south_migrations')

0 commit comments

Comments
 (0)