Opened 18 years ago
Closed 18 years ago
#5824 closed (fixed)
startapp command passes the wrong project name to copy_helper
| Reported by: | Gary Wilson | Owned by: | nobody |
|---|---|---|---|
| Component: | Core (Other) | Version: | dev |
| Severity: | Keywords: | ||
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
The directory passed to the startapp command's handle_label method is already the project directory. There is no need to determine its parent directory. Currently the method is passing the name of the parent directory to the copy_helper function instead of the project name, which is really the basename of the path passed as directory. This really isn't affecting too much at the moment since there is no {{ project_name }} used in the app_template skeleton files, but it is a bug.
Note:
See TracTickets
for help on using tickets.
(In [6621]) Fixed #5824 -- For the
startappcommand, pass the true project name to thecopy_helperfunction instead of the name of the project's parent directory.