| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/python3/dist-packages/django/core/management/commands/__pycache__/ |
Upload File : |
�
�|�e� � �J � d dl mZ d dlmZ d dlmZmZ G d� de� � ZdS )� )�BaseCommand)� sql_flush)�DEFAULT_DB_ALIAS�connectionsc �, � � e Zd ZdZdZ� fd�Zd� Z� xZS )�Commandz�Returns a list of the SQL statements required to return all tables in the database to the state they were in just after they were installed.Tc � �� t � � � |� � |� dt d�� � d S )Nz
--databasezNNominates a database to print the SQL for. Defaults to the "default" database.)�default�help)�super�
add_arguments�add_argumentr )�self�parser� __class__s ��J/usr/lib/python3/dist-packages/django/core/management/commands/sqlflush.pyr
zCommand.add_arguments sK �� �
�����f�%�%�%�����"2�a� �
�
�
�
�
� c �� � t | j t |d � � }|s&|d dk r| j � d� � d� |� � S )N�database� verbosity� zNo tables found.�
)r �styler �stderr�write�join)r �options�sql_statementss r �handlezCommand.handle s] � �"�4�:�{�7�:�;N�/O�P�P��� 2�'�+�"6�!�";�";��K���0�1�1�1��y�y��(�(�(r )�__name__�
__module__�__qualname__r �output_transactionr
r �
__classcell__)r s @r r r sZ �� � � � � � Q� �
��
�
�
�
�
�)� )� )� )� )� )� )r r N)�django.core.management.baser �django.core.management.sqlr � django.dbr r r � r r �<module>r) su �� 3� 3� 3� 3� 3� 3� 0� 0� 0� 0� 0� 0� 3� 3� 3� 3� 3� 3� 3� 3�)� )� )� )� )�k� )� )� )� )� )r