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/management/commands/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python2.7/site-packages/south/management/commands/syncdb.pyc
�
��Rc@sdZddlmZddlZddlmZddlmZmZddl	m
Z
ddlmZddl
mZdd	lmZdd
lmZddlmZddlmZdd
lmZddlmZddlmZd�Zdefd��YZdS(s
Overridden syncdb command
i����(tprint_functionN(tmake_option(t
NoArgsCommandtBaseCommand(tno_style(t
SortedDict(tsyncdb(tsettings(tmodels(tcache(t
management(tdbs(t	migration(tNoMigrationscCs dj|jjd�dd!�S(Nt.ii����(tjoint__name__tsplit(tapp((sD/usr/lib/python2.7/site-packages/south/management/commands/syncdb.pyt
get_app_labelstCommandcBs�eZejjeddddddedd�eddddd	dedd
�fZdgejjD]Zej�^qhkr�eeddddd
ddddddddgdd�f7ZndZ	ed�Z
RS(s	--migratetactiont
store_truetdesttmigratetdefaultthelpslTells South to also perform migrations after the sync. Default for during testing, and other internal calls.s--alltmigrate_alls>Makes syncdb work on all apps, even migrated ones. Be careful!s--verbositytstoret	verbosityt1ttypetchoicetchoicest0t2s@Verbosity level; 0=minimal output, 1=normal output, 2=all outputs�Create the database tables for all apps in INSTALLED_APPS whose tables haven't already been created, except those which use migrations.cKs�yddlm}Wntk
r'nkXxgtjD]\}y|d|�Wq2tk
r�}|jd}|jd�s�d|kr��q�q2Xq2Wg}g}xwtj�D]i}	t	|	�}
|r�|j
|
�q�ytj|
�}Wnt
k
r|j
|
�q�X|j
|
�q�Wt|jdd��}|rCtd�ntj|}
t_tjtgtjj�D]*\}}t	|�|kro||f^qo�}t_xtj�D]}|j�q�Wtj�j|�|
t_|t_|jd	t�r>|rtd
�n|jdt�|d<tjd	|�n|r^td
dj|��n|jd	t�r�|r�tddj|��q�n*|r�tddj|��td�ndS(Ni����(t
import_modules.managementisNo module namedR
Rs
Syncing...RsMigrating...tload_initial_datatno_initial_datas
Synced:
 > %ss
 > s
Migrated:
 - %ss
 - s#
Not synced (use migrations):
 - %ss*(use ./manage.py migrate to migrate these)(tdjango.utils.importlibR$tImportErrorRtINSTALLED_APPStargst
startswithRtget_appsRtappendRt
MigrationsR
tinttgettprintR	t	app_storeRtitemsRtvaluestconnection_initRRtexecutetTrueR
tcall_commandR(tselfRtoptionsR$tapp_nametexctmsgtapps_needing_synct
apps_migratedRt	app_labelt
migrationsRt
old_installedtktvt
old_app_storetdb((sD/usr/lib/python2.7/site-packages/south/management/commands/syncdb.pyt
handle_noargs)s^



	.		
(Rt
__module__RRtoption_listRtFalsetopttget_opt_stringRRG(((sD/usr/lib/python2.7/site-packages/south/management/commands/syncdb.pyRs	
+(t__doc__t
__future__RtsystoptparseRtdjango.core.management.baseRRtdjango.core.management.colorRtdjango.utils.datastructuresRtdjango.core.management.commandsRtdjango.confRt	django.dbRtdjango.db.models.loadingR	tdjango.coreR
tsouth.dbRtsouthRtsouth.exceptionsR
RR(((sD/usr/lib/python2.7/site-packages/south/management/commands/syncdb.pyt<module>s 	

https://t.me/AnonymousX5 - 2025