Code

Opened 5 years ago

Closed 5 years ago

Last modified 3 years ago

#10526 closed (fixed)

Django INSTALLED_APPS with '.*' processing too stingy

Reported by: Alex Owned by: nobody
Component: Core (Other) Version: master
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description (last modified by Alex)

When django sees an app in INSTALLED apps with .* it expands that to include all apps in that directory. However it omits any apps with '_' in their names.

Attachments (0)

Change History (7)

comment:1 Changed 5 years ago by Alex

  • Description modified (diff)
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

Describe the problem better.

comment:2 Changed 5 years ago by mtredinnick

  • Triage Stage changed from Unreviewed to Accepted
  • Version changed from 1.0 to SVN

Looks like a variant on the fix that went in for #9323. This is valid.

comment:3 Changed 5 years ago by mtredinnick

  • milestone set to 1.1

comment:4 Changed 5 years ago by mtredinnick

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

(In [10078]) Fixed #10526 -- More fixes when specifying installed apps using "foo.*".

This adds a case that was missed in r9924: underscore handling.

comment:5 Changed 5 years ago by mtredinnick

(In [10079]) Fixed #10526 -- More fixes when specifying installed apps using "foo.*".

This adds a case that was missed in r9925: underscore handling.

Backport of r10078 from trunk.

comment:6 Changed 5 years ago by mtredinnick

Gargh. The two referenced commits should have been r9994 and r9995, in case anybody is following this up at a later date.

comment:7 Changed 3 years ago by jacob

  • milestone 1.1 deleted

Milestone 1.1 deleted

Add Comment

Modify Ticket

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


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

 
Note: See TracTickets for help on using tickets.