Skip to content

Commit 90a0d52

Browse files
committed
Add handlers to good_names. Fixes #248
1 parent a815175 commit 90a0d52

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
@@ -15,7 +15,8 @@ def load_configuration(linter):
1515
Amend existing checker config.
1616
"""
1717
name_checker = get_checker(linter, NameChecker)
18-
name_checker.config.good_names += ('qs', 'urlpatterns', 'register', 'app_name', 'handler500')
18+
name_checker.config.good_names += ('qs', 'urlpatterns', 'register', 'app_name',
19+
'handler400', 'handler403', 'handler404', 'handler500')
1920

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

0 commit comments

Comments
 (0)