Re: [Django] #15562: include_patterns in staticfiles finder

2013-03-23 Thread Django
#15562: include_patterns in staticfiles finder
-+-
 Reporter:  Kronuz   |Owner:  nobody
 Type:  New feature  |   Status:  closed
Component:  contrib.staticfiles  |  Version:  1.3-rc
 Severity:  Normal   |   Resolution:  wontfix
 Keywords:   | Triage Stage:  Design
Has patch:  0|  decision needed
  Needs tests:  1|  Needs documentation:  1
Easy pickings:  0|  Patch needs improvement:  1
 |UI/UX:  0
-+-
Changes (by aaugustin):

 * status:  new => closed
 * resolution:   => wontfix


Comment:

 I'm sorry, but this doesn't sound like a common use case for Django, and
 you're using the API for something that's quite far from its goals.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #15562: include_patterns in staticfiles finder

2012-02-05 Thread Django
#15562: include_patterns in staticfiles finder
-+-
 Reporter:  Kronuz   |Owner:  nobody
 Type:  New feature  |   Status:  reopened
Component:  contrib.staticfiles  |  Version:  1.3-rc1
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Design
Has patch:  0|  decision needed
  Needs tests:  1|  Needs documentation:  1
Easy pickings:  0|  Patch needs improvement:  1
 |UI/UX:  0
-+-
Changes (by jezdez):

 * needs_better_patch:  0 => 1
 * needs_docs:  0 => 1
 * type:  Uncategorized => New feature
 * needs_tests:  0 => 1
 * stage:  Unreviewed => Design decision needed


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #15562: include_patterns in staticfiles finder

2012-01-14 Thread Django
#15562: include_patterns in staticfiles finder
-+-
 Reporter:  Kronuz   |Owner:  nobody
 Type:  Uncategorized|   Status:  reopened
Component:  contrib.staticfiles  |  Version:  1.3-rc1
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:
Has patch:  0|  Unreviewed
  Needs tests:  0|  Needs documentation:  0
Easy pickings:  0|  Patch needs improvement:  0
 |UI/UX:  0
-+-
Changes (by Kronuz):

 * status:  closed => reopened
 * resolution:  needsinfo =>


Comment:

 I'll elaborate a bit about what I use this for and reopen the ticket as I
 believe it could be useful for other things as well and it's also elegant
 and brings symmetry in the code.

 I'm using the template system to produce my CSS files, some CSS files I
 keep in the database with a personalized template loader, some others are
 in the filesystem. Nonetheless, I also use a CSS compiler (pyScss) to
 process the produced CSS files. The way I use the `include_patterns` is in
 a function I call `finder()`, which I use to request some given template
 file(s) in a glob (no matter if it's in the database or the filesystem),
 `finder()` returns all the templates that match the given glob, returning
 the path (if available) and the storage, the same I later use to
 consistently open and read each file:

 {{{
 from django.contrib.staticfiles import finders
 def finder(glob):
 for finder in finders.get_finders():
 for path, storage in finder.list([], [glob]):
 yield path, storage
 }}}

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #15562: include_patterns in staticfiles finder

2011-12-13 Thread Django
#15562: include_patterns in staticfiles finder
-+-
 Reporter:  Kronuz   |Owner:  nobody
 Type:  Uncategorized|   Status:  closed
Component:  contrib.staticfiles  |  Version:  1.3-rc1
 Severity:  Normal   |   Resolution:  needsinfo
 Keywords:   | Triage Stage:
Has patch:  0|  Unreviewed
  Needs tests:  0|  Needs documentation:  0
Easy pickings:  0|  Patch needs improvement:  0
 |UI/UX:  0
-+-
Changes (by Kronuz):

 * cc: Kronuz (added)
 * ui_ux:   => 0
 * type:   => Uncategorized
 * severity:   => Normal
 * easy:   => 0


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #15562: include_patterns in staticfiles finder

2011-03-08 Thread Django
#15562: include_patterns in staticfiles finder
-+-
   Reporter:  Kronuz |Owner:  nobody
 Status:  closed |Milestone:
  Component: |  Version:  1.3-rc1
  django.contrib.staticfiles | Keywords:
 Resolution:  needsinfo  |Has patch:  0
   Triage Stage: |  Needs tests:  0
  Unreviewed |
Needs documentation:  0  |
Patch needs improvement:  0  |
-+-
Changes (by russellm):

 * status:  new => closed
 * resolution:   => needsinfo


Comment:

 Closing needsinfo -- there might be an interesting idea in here, but as
 Jannis points out, it isn't obvious. The proposed change adds features to
 an undocumented private API without any obvious public benefit.

 Feel free to reopen and elaborate if you feel we have missed something.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #15562: include_patterns in staticfiles finder (was: include_patterns in static files finder)

2011-03-06 Thread Django
#15562: include_patterns in staticfiles finder
-+-
   Reporter:  Kronuz |Owner:  nobody
 Status:  new|Milestone:
  Component: |  Version:  1.3-rc1
  django.contrib.staticfiles | Keywords:
 Resolution: |Has patch:  0
   Triage Stage: |  Needs tests:  0
  Unreviewed |
Needs documentation:  0  |
Patch needs improvement:  0  |
-+-
Changes (by jezdez):

 * component:  Uncategorized => django.contrib.staticfiles


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.