Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#18028 closed Bug (invalid) startapp creates apps in "wrong" path

Reported by: aviraldg Owned by: aviraldg
Component: Core (Management commands) Version: 1.4
Severity: Normal Keywords:
Cc: aviraldg Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no


Historically (before Django 1.4), startapp created apps in the project directory (since it was inside it), but now, apps are created alongside the project directory unless you specifically indicate otherwise. Since the standard organisation of Django projects places apps inside projects, should create new apps inside the project directory, as was the case before

Attachments (0)

Change History (3)

comment:1 Changed 2 years ago by aviraldg

  • Needs documentation unset
  • Needs tests unset
  • Owner changed from nobody to aviraldg
  • Patch needs improvement unset

comment:2 Changed 2 years ago by aaugustin

  • Resolution set to invalid
  • Status changed from new to closed

the standard organisation of Django projects places apps inside projects

There isn't really a concept of "project directory"; a Django project is just a bunch of Python packages.

This change is intentional, and the new layout matches the recommended best practices. Please see the release notes for more information.

comment:3 Changed 2 years ago by aviraldg

Oh, sorry about that. You're right, it's now the new layout. My bad.

Last edited 2 years ago by aviraldg (previous) (diff)

Add Comment

Modify Ticket

Change Properties
<Author field>
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.