Skip to content

Commit d5bf629

Browse files
committed
Add URL to PyPI for README as suggested by @carlio
1 parent d2ee9f6 commit d5bf629

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pylint_django/transforms/foreignkey.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,8 @@ def infer_key_classes(node, context=None):
110110
module_name += '.models'
111111
except ImproperlyConfigured:
112112
raise RuntimeError("DJANGO_SETTINGS_MODULE required for resolving ForeignKey "
113-
"string references, see Usage section in README!")
113+
"string references, see Usage section in README at "
114+
"https://pypi.org/project/pylint-django/!")
114115

115116
# ensure that module is loaded in astroid_cache, for cases when models is a package
116117
if module_name not in MANAGER.astroid_cache:

0 commit comments

Comments
 (0)