Opened 5 years ago

Last modified 5 years ago

#31456 closed Uncategorized

startapp doesn't allow one to create an app under a package. — at Initial Version

Reported by: Moriyoshi Koizumi Owned by: nobody
Component: Uncategorized Version: 3.0
Severity: Normal 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

While the requirement described in #30393 is to check if the target directory name is suitable for a python package as well, the fix (introduced in 3.0.5) does an extra check that ensures it is not an importable python package.

I doubt the behavior is expected, since we may well do the startapp under a python package that aren't a Django project but an add-on for the applications.

Related PR: https://github.com/django/django/pull/11270

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top