Closed as not planned
Labels
DjangonautsThis issue is reserved to be work on by DjangonautsenhancementNew feature or requesttriagedThis label indicates that a maintainer has triaged the issue and it is ready to be worked.
Description
Cookiecutter by default puts all the contents in a site project folder. This is great for things like documentation but doesn't make sense when the webiste is the main focus of the project.
Suggestion
Set the project_path to be "__home". If the variable is not changed, then copytree the folder into the project root.
Reacted by Jay Miller
Metadata
Metadata
Assignees
Labels
DjangonautsThis issue is reserved to be work on by DjangonautsenhancementNew feature or requesttriagedThis label indicates that a maintainer has triaged the issue and it is ready to be worked.
Type
Projects
- StatusShow more project fieldsDone
Activity
john0isaac commentedon Feb 29, 2024
We have output_dir from cookiecutter but it always defaults to creating a folder inside the current folder I think we need to work on changing how cookiecutter works as we already have the flag that people can set to specify a folder.

kjaymiller commentedon Feb 29, 2024
I think doing a copytree, rmtree would be easier than overriding how cookiecutter works no?
john0isaac commentedon Feb 29, 2024
Yes, it would let's see who takes this on and if they can figure out something better
brass75 commentedon Sep 10, 2026
Cookiecutter (used by
render-engine init) will create a new sub-directory in the directory where it's called. We should add logic to allow the user to specify a different path if so desired. The simplest way to implement this is probably to change the working directory to be the parent directory of the desired location. If the desired location is a directory that already exists, then moving it after creation in a temp directory would probably be the solution.brass75 commentedon Nov 11, 2026
The init is being redone so this isn't relevant.