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 :  /lib/python2.7/site-packages/south/hacks/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python2.7/site-packages/south/hacks/django_1_0.pyc
�
��MTc@s�dZddlZddlmZddlmZddlmZddlm	Z	ddl
mZddl
mZdd	lmZd
efd��YZddd
��YZdS(s*
Hacks for the Django 1.0/1.0.2 releases.
i����N(tsettings(tBaseDatabaseCreation(tcache(t
management(tCommand(t
SortedDict(tstring_typestSkipFlushCommandcBseZd�ZRS(cKsdS(N((tselftoptions((s:/usr/lib/python2.7/site-packages/south/hacks/django_1_0.pyt
handle_noargss(t__name__t
__module__R
(((s:/usr/lib/python2.7/site-packages/south/hacks/django_1_0.pyRstHackscBsYeZd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
RS(	cCsXt|�}|r4t|dt�s4td��n|tjt_t_|j�dS(s\
        Sets Django's INSTALLED_APPS setting to be effectively the list passed in.
        is=The argument to set_installed_apps must be a list of strings.N(tlistt
isinstanceRtAssertionErrorRtINSTALLED_APPStOLD_INSTALLED_APPSt_redo_app_cache(Rtapps((s:/usr/lib/python2.7/site-packages/south/hacks/django_1_0.pytset_installed_appss"cCstjt_|j�dS(s:
        Undoes the effect of set_installed_apps.
        N(RRRR(R((s:/usr/lib/python2.7/site-packages/south/hacks/django_1_0.pytreset_installed_apps*scCsbtt_tjdkr!t�nit_gt_t�t_	t�t_
it_tj�dS(sQ
        Used to repopulate AppCache after fiddling with INSTALLED_APPS.
        iiN(ii(
tFalseRtloadedtdjangotVERSIONtsetthandledt	postponedRt	app_storet
app_modelst
app_errorst	_populate(R((s:/usr/lib/python2.7/site-packages/south/hacks/django_1_0.pyR2s	!		cCstji|_t_dS(st
        Clears the contents of AppCache to a blank state, so new models
        from the ORM can be added.
        N(RRtold_app_models(R((s:/usr/lib/python2.7/site-packages/south/hacks/django_1_0.pytclear_app_cache?scCs|jt_it_dS(s:
        Reversed the effects of clear_app_cache.
        N(R"RRt_get_models_cache(R((s:/usr/lib/python2.7/site-packages/south/hacks/django_1_0.pytunclear_app_cacheGscCstj�dS(sD
        Rebuilds AppCache with the real model definitions.
        N(RR!(R((s:/usr/lib/python2.7/site-packages/south/hacks/django_1_0.pytrepopulate_app_cacheOscCsttj�|_dS(N(tdictRt__dict__tstored_app_cache_state(R((s:/usr/lib/python2.7/site-packages/south/hacks/django_1_0.pytstore_app_cache_stateUscCs|jt_dS(N(R)RR((R((s:/usr/lib/python2.7/site-packages/south/hacks/django_1_0.pytrestore_app_cache_stateXscCsd�}|tj�t_dS(sS
        Patches BaseDatabaseCreation.create_test_db to not flush database
        cs�fd�}|S(NcsCtjd}z!t�tjd<�||�SWd|tjd<XdS(Ntflush(Rt	_commandsR(targstkwargstoriginal_flush_command(tf(s:/usr/lib/python2.7/site-packages/south/hacks/django_1_0.pytwrapperas

((R1R2((R1s:/usr/lib/python2.7/site-packages/south/hacks/django_1_0.pytpatch`s
N(Rtcreate_test_db(RR3((s:/usr/lib/python2.7/site-packages/south/hacks/django_1_0.pyt#patch_flush_during_test_db_creation[s	
(RRRRRR#R%R&R*R+R5(((s:/usr/lib/python2.7/site-packages/south/hacks/django_1_0.pyR
s			
					((t__doc__Rtdjango.confRtdjango.db.backends.creationRtdjango.db.models.loadingRtdjango.coreRt%django.core.management.commands.flushRtFlushCommandtdjango.utils.datastructuresRtsouth.utils.py3RRR
(((s:/usr/lib/python2.7/site-packages/south/hacks/django_1_0.pyt<module>s

https://t.me/AnonymousX5 - 2025