def remove_task_app(project_directory):
 task_app_location = os.path.join(PROJECT_DIRECTORY, '{{ cookiecutter.project_slug }}/taskapp')
 shutil.rmtree(task_app_location)

def remove_task_app ( project_directory ) : task_app_location = os . path . join ( PROJECT_DIRECTORY , '{{ cookiecutter.project_slug }}/taskapp' ) shutil . rmtree ( task_app_location )
removes the taskapp if celery isnt going to be used .