Code

Opened 18 months ago

Closed 18 months ago

Last modified 18 months ago

#19121 closed Uncategorized (wontfix)

staticfiles app should have a setting variable for ignore patterns

Reported by: dmishe@… Owned by: nobody
Component: Uncategorized Version: 1.4
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

Right now it's possible to specify ignore path patters when calling collectstatic management command.
It would be helpful, if I could set those patterns in settings, say, STATICFILES_IGNORE tuple.
This tuple should contain ignore patterns the command uses by default, so I can either supplement or override them.

Attachments (0)

Change History (1)

comment:1 Changed 18 months ago by ptone

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to wontfix
  • Status changed from new to closed

This should be handled through a number of other approaches (shell scripts etc)

The global settings namespace is only added to by Django in a very conservative way - and this usage would not qualify for a global setting.

Last edited 18 months ago by ptone (previous) (diff)

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.