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

Fix compatibility with pylint-django #5538

Closed
wants to merge 1 commit into from

Commits on Aug 25, 2019

  1. Fix compatibility with pylint-django

    It's not possible to use wagtail in a project with pylint and the
    pylint-django plugin.
    
    Pylint-django does not work with foreign keys that are referenced by
    their string names. See: https://github.com/PyCQA/pylint-django#known-issues
    
    If we simply replace the string name with the foreign-key class, linting
    on wagtail projects is fixed.
    
    Also see:
    pylint-dev/pylint#2995
    pylint-dev/pylint-django#241
    danihodovic committed Aug 25, 2019
    Configuration menu
    Copy the full SHA
    fb01d93 View commit details
    Browse the repository at this point in the history