Skip to content

Commit

Permalink
disable add_message for the case lamby#7
Browse files Browse the repository at this point in the history
  • Loading branch information
grumbler committed Sep 12, 2014
1 parent 4408d7f commit 5db0815
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions django_lint/AstCheckers/model_fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ def visit_callfunc(self, node):
self.add_message('W6000', node=node, args=(assname,))

if val.name == 'CharField' and \
options['max_length'] != astng.YES and \
options['max_length'] > self.config.max_charfield_length:
self.add_message('W6007', node=node, args=(
assname,
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
],
author='Chris Lamb',
author_email='[email protected]',
version='0.0.1',
version='0.0.2',
)

try:
Expand Down

0 comments on commit 5db0815

Please sign in to comment.