Skip to content

Document how to do conditional files/directories #723

Description

@pydanny

In the advanced_usage.rst document we should document the following techniques:

  1. By default have all the files, then use https://github.com/pydanny/cookiecutter-django/blob/master/hooks/post_gen_project.py#L163-L165 to remove those things not needed. (works everywhere)
  2. Use logic in directory names to set whether or not something is created. (Only works in Linux/OSX)

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-docsPR Only: This PR require additional documentation

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions