1j d Z ddlmZ ddlmZ G d dej Zedk r` e Ze e
ej d e
e
dS dS ) a
Tests to make sure that access to _meta on a model does not raise
a protected-access warning, as it is part of the public API since
Django 1.8
(see https://github.com/PyCQA/pylint-django/issues/66,
and https://docs.djangoproject.com/en/1.9/ref/models/meta/)
)print_function)modelsc 6 e Zd Z ej d Zd ZdS )ModelWhichLikesMetaF)defaultc 6 | j d S )Nursuary)_meta get_field)selfs /builddir/build/BUILD/cloudlinux-venv-1.0.11/venv/lib/python3.11/site-packages/pylint_django/tests/input/func_noerror_protected_meta_access.py
do_a_thingzModelWhichLikesMeta.do_a_thing s z##I... N)__name__
__module____qualname__r BooleanFieldr r r r
r r s8 !f!%000G/ / / / /r r __main__r N)__doc__
__future__r django.dbr Modelr r MODELsaveprintr
r r r r r