
    Vh                     &    d dl mZ  G d de      Zy)    )TemplateCommandc                   &     e Zd ZdZdZ fdZ xZS )Commandz~Creates a Django app directory structure for the given app name in the current directory or optionally in the given directory.z%You must provide an application name.c                 n    |j                  d      }|j                  d      }t        |   d||fi | y )Nname	directoryapp)popsuperhandle)selfoptionsapp_nametarget	__class__s       X/home/dcms/DCMS/lib/python3.12/site-packages/django/core/management/commands/startapp.pyr   zCommand.handle   s4    ;;v&[)uh:':    )__name__
__module____qualname__helpmissing_args_messager   __classcell__)r   s   @r   r   r      s!    	F 	 C; ;r   r   N) django.core.management.templatesr   r    r   r   <module>r      s    <
;o 
;r   