Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModelForm Meta #3

Closed
supervacuo opened this issue Dec 23, 2013 · 1 comment
Closed

ModelForm Meta #3

supervacuo opened this issue Dec 23, 2013 · 1 comment

Comments

@supervacuo
Copy link

Define a ModelForm:

# models.py
class Foo(models.Model):
        ...

# forms.py
class FooForm(forms.ModelForm):
    class Meta:
        ...

On running pylint with pylint_django, messages are shown for FooForm.Meta (C1001, W0232, R0903). It would be nice if these messages were suppressed as they are for Meta classes in Model subclasses.

@carlio
Copy link
Collaborator

carlio commented Jan 5, 2014

This was actually added already in this commit but not released onto PyPi yet (sorry!).

There is now a new release (0.2) available via PyPI which includes this fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants