Skip to content

Commit

Permalink
Use R4531 code for one-to-one-field-checker.
Browse files Browse the repository at this point in the history
Fixes #735
  • Loading branch information
jorgii authored and atodorov committed Jun 6, 2019
1 parent 663e525 commit 7ec5763
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kiwi_lint/one_to_one_field.py
Expand Up @@ -8,7 +8,7 @@ class OneToOneFieldChecker(checkers.BaseChecker):

name = 'one-to-one-field-checker'

msgs = {'E4493': ("Do not use OneToOneField",
msgs = {'R4531': ("Do not use OneToOneField",
'one-to-one-field',
"Do not use OneToOneField because it does not play well with the"
"history framework (this relation does not have enabled history")}
Expand Down

0 comments on commit 7ec5763

Please sign in to comment.