https://t.me/AnonymousX5
Server : Apache
System : Linux cvar2.toservers.com 3.10.0-962.3.2.lve1.5.73.el7.x86_64 #1 SMP Wed Aug 24 21:31:23 UTC 2022 x86_64
User : njnconst ( 1116)
PHP Version : 8.4.18
Disable Function : NONE
Directory :  /usr/lib64/python2.7/site-packages/django/core/checks/compatibility/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/lib64/python2.7/site-packages/django/core/checks/compatibility/django_1_6_0.pyc
�
r�\c@s?ddlmZddlmZd�Zd�Zd�ZdS(i����(tunicode_literals(tmodelscCs[ddlm}d}t|d|�}||krWd|dddg}d	j|�Sd
S(u�
    Checks if the user has *not* overridden the ``TEST_RUNNER`` setting &
    warns them about the default behavior changes.

    If the user has overridden that setting, we presume they know what they're
    doing & avoid generating a message.
    i����(tsettingsu!django.test.runner.DiscoverRunneruTEST_RUNNERu6Django 1.6 introduced a new default test runner ('%s')uHYou should ensure your tests are all running & behaving as expected. SeeuChttps://docs.djangoproject.com/en/dev/releases/1.6/#new-test-runnerufor more information.u N(tdjango.confRtgetattrtjoin(Rtnew_defaultttest_runner_settingtmessage((sO/tmp/pip-install-XxeQeY/django/django/core/checks/compatibility/django_1_6_0.pytcheck_test_runners	cCs�g}xvtj�D]h}|j}xV|jD]K}t|tj�r,|j�r,|jd|j|j	|j
f�q,q,WqW|r�dj|�}dd|ddddg}d	j|�Sd
S(u�
    Checks if there are any BooleanFields without a default value, &
    warns the user that the default has changed from False to Null.
    u%s.%s: "%s"u, u?You have not set a default value for one or more BooleanFields:u%s.u@In Django 1.6 the default value of BooleanField was changed fromu3False to Null when Field.default isn't defined. SeeuEhttps://docs.djangoproject.com/en/1.6/ref/models/fields/#booleanfieldufor more information.u N(Rt
get_modelst_metatlocal_fieldst
isinstancetBooleanFieldthas_defaulttappendt	app_labeltobject_nametnameR(tfieldstclstoptstft
fieldnamesR((sO/tmp/pip-install-XxeQeY/django/django/core/checks/compatibility/django_1_6_0.pyt!check_boolean_field_default_values 	(	cCs/t�t�g}g|D]}|r|^qS(u�
    Required by the ``check`` management command, this returns a list of
    messages from all the relevant check functions for this version of Django.
    (R	R(tcheckstoutput((sO/tmp/pip-install-XxeQeY/django/django/core/checks/compatibility/django_1_6_0.pyt
run_checks4sN(t
__future__Rt	django.dbRR	RR(((sO/tmp/pip-install-XxeQeY/django/django/core/checks/compatibility/django_1_6_0.pyt<module>s		

https://t.me/AnonymousX5 - 2025