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/contrib/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/lib64/python2.7/site-packages/django/contrib/admin/actions.pyc
�
r�\c@s�dZddlmZddlmZddlmZddlmZm	Z	ddl
mZddlm
Z
ddlmZdd	lmZmZd
�Zed�e_dS(
s-
Built-in, globally-available admin actions.
i����(tPermissionDenied(tmessages(thelpers(tget_deleted_objectstmodel_ngettext(trouter(tTemplateResponse(t
force_text(t
ugettext_lazytugettextcCs|jj}|j}|j|�s-t�ntj|j�}t|||j|j	|�\}}}|j
jd�r|r�t�n|j�}	|	rx-|D]%}
t
|
�}|j||
|�q�W|j�|j|td�i|	d6t|j|	�d6tj�ndSt|�dkr8t
|j�}nt
|j�}|sS|rmtd�i|d6}
ntd�}
i	|
d	6|d
6|gd6|d6|d
6|d6|d6|d6tjd6}t||jp�d||jfd|dg|d|j	j�S(s]
    Default action which deletes the selected objects.

    This action first displays a confirmation page whichs shows all the
    deleteable objects, or, if the user has no permission one of the related
    childs (foreignkeys), a "permission denied" message.

    Next, it deletes all selected objects and redirects back to the change list.
    tposts)Successfully deleted %(count)d %(items)s.tcounttitemsisCannot delete %(name)stnames
Are you sure?ttitletobjects_nametdeletable_objectstquerysett
perms_lackingt	protectedtoptst	app_labeltaction_checkbox_names-admin/%s/%s/delete_selected_confirmation.htmls*admin/%s/delete_selected_confirmation.htmls'admin/delete_selected_confirmation.htmltcurrent_appN( tmodelt_metaRthas_delete_permissionRRtdb_for_writeRtusert
admin_sitetPOSTtgetRRtlog_deletiontdeletetmessage_usert_RRRtSUCCESStNonetlentverbose_nametverbose_name_pluralRtACTION_CHECKBOX_NAMERt%delete_selected_confirmation_templatet
model_nameR
(t
modeladmintrequestRRRtusingRtperms_neededRtntobjtobj_displayRRtcontext((s>/tmp/pip-install-XxeQeY/django/django/contrib/admin/actions.pytdelete_selectedsR
		$	




s'Delete selected %(verbose_name_plural)sN(t__doc__tdjango.core.exceptionsRtdjango.contribRtdjango.contrib.adminRtdjango.contrib.admin.utilRRt	django.dbRtdjango.template.responseRtdjango.utils.encodingRtdjango.utils.translationRR	R#R4tshort_description(((s>/tmp/pip-install-XxeQeY/django/django/contrib/admin/actions.pyt<module>s	F

https://t.me/AnonymousX5 - 2025