Current Path : /opt/cloudlinux/venv/lib64/python3.11/site-packages/pylint_django/tests/input/ |
Current File : //opt/cloudlinux/venv/lib64/python3.11/site-packages/pylint_django/tests/input/func_noerror_string_foreignkey.py |
""" Checks that PyLint correctly handles string foreign keys https://github.com/PyCQA/pylint-django/issues/243 """ # pylint: disable=missing-docstring, hard-coded-auth-user from django.db import models class Book(models.Model): author = models.ForeignKey("test_app.Author", models.CASCADE) user = models.ForeignKey("auth.User", models.PROTECT)