/usr/local/lib/python3.9/site-packages/django/core/management/commands/__pycache__
a Ӱ�h� � @ s8 d dl mZ d dlmZ d dlmZ G dd� de�ZdS )� )�call_command)�BaseCommand)� connectionc @ s$ e Zd ZdZg Zdd� Zdd� ZdS )�Commandz>Runs a development server with data from the given fixture(s).c C sN |j ddddd� |j dddd d d� |j dd dd� |j dddddd� d S )N�argsZfixture�*z6Path(s) to fixtures to load before running the server.)�metavar�nargs�helpz --noinputz --no-input�store_false�interactivez:Tells Django to NOT prompt the user for input of any kind.)�action�destr z --addrport� z0Port number or ipaddr:port to run the server on.)�defaultr z--ipv6z-6� store_true�use_ipv6z$Tells Django to use an IPv6 address.)�add_argument)�self�parser� r �T/usr/local/lib/python3.9/site-packages/django/core/management/commands/testserver.py� add_arguments s2 ����zCommand.add_argumentsc O sn |d }|d }t jj|| dd�}tdg|�R i d|i�� d| }t jj}td|d |d|d |d � d S )N� verbosityr F)r Zautoclobber� serializeZloaddatazg Server stopped. Note that the test database, %r, has not been deleted. You can explore it on your own.Z runserver�addrportr )r �shutdown_messageZuse_reloaderr � use_threading)r ZcreationZcreate_test_dbr �featuresZ#test_db_allows_multiple_connections)r Zfixture_labels�optionsr r Zdb_namer r r r r �handle&