
v^                 @   s*   d  d l  m Z Gd d   d e  Z d S)    )TemplateCommandc                   s.   e  Z d  Z d Z d Z   f d d   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                s;   | j  d  } | j  d  } t   j d | | |  d  S)Nname	directoryZapp)popsuperhandle)selfoptionsZapp_nametarget)	__class__ J/tmp/pip-build-8lau8j11/django/django/core/management/commands/startapp.pyr      s    zCommand.handle)__name__
__module____qualname__helpZmissing_args_messager   r   r   )r   r   r      s   r   N)Z django.core.management.templatesr   r   r   r   r   r   <module>   s   