Re: [Django] #9093: Extend inclusion tag syntax to allow custom templates

2014-06-30 Thread Django
#9093: Extend inclusion tag syntax to allow custom templates
-+
 Reporter:  exogen@… |Owner:  nobody
 Type:  New feature  |   Status:  new
Component:  Template system  |  Version:  1.0
 Severity:  Normal   |   Resolution:
 Keywords:  inclusion| Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  1
Easy pickings:  0|UI/UX:  0
-+
Changes (by timo):

 * needs_better_patch:  0 => 1


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/074.4841e17ded8c394cc74fae6838373a1d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #9093: Extend inclusion tag syntax to allow custom templates

2013-04-04 Thread Django
#9093: Extend inclusion tag syntax to allow custom templates
-+
 Reporter:  exogen@… |Owner:  nobody
 Type:  New feature  |   Status:  new
Component:  Template system  |  Version:  1.0
 Severity:  Normal   |   Resolution:
 Keywords:  inclusion| Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+
Changes (by jacob):

 * stage:  Design decision needed => Accepted


-- 
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] #9093: Extend inclusion tag syntax to allow custom templates

2009-07-14 Thread Django
#9093: Extend inclusion tag syntax to allow custom templates
-+--
  Reporter:  exo...@gmail.com| Owner:  nobody   
Status:  new | Milestone:   
 Component:  Template system |   Version:  1.0  
Resolution:  |  Keywords:  inclusion
 Stage:  Design decision needed  | Has_patch:  1
Needs_docs:  0   |   Needs_tests:  0
Needs_better_patch:  0   |  
-+--
Changes (by ramusus):

 * cc: ramu...@gmail.com (added)

-- 
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] #9093: Extend inclusion tag syntax to allow custom templates

2009-05-08 Thread Django
#9093: Extend inclusion tag syntax to allow custom templates
-+--
  Reporter:  exo...@gmail.com| Owner:  nobody   
Status:  new | Milestone:   
 Component:  Template system |   Version:  1.0  
Resolution:  |  Keywords:  inclusion
 Stage:  Design decision needed  | Has_patch:  1
Needs_docs:  0   |   Needs_tests:  0
Needs_better_patch:  0   |  
-+--
Comment (by andrewbadr):

 Even if you're willing to write multiple inclusion tags for some finite
 number of templates that take the same context, you have to write a
 wrapper around the context function. (Django won't let you use the same
 function for multiple inclusion tags.) One possible workaround might be to
 do {% with inclusion_template as 'whatever'%}{% show_result %}{% endwith
 %} and show_result would render a template that `include`s the
 `inclusion_template` that it gets from the context.

-- 
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] #9093: Extend inclusion tag syntax to allow custom templates

2009-02-25 Thread Django
#9093: Extend inclusion tag syntax to allow custom templates
-+--
  Reporter:  exo...@gmail.com| Owner:  nobody   
Status:  new | Milestone:   
 Component:  Template system |   Version:  1.0  
Resolution:  |  Keywords:  inclusion
 Stage:  Design decision needed  | Has_patch:  1
Needs_docs:  0   |   Needs_tests:  0
Needs_better_patch:  0   |  
-+--
Changes (by jacob):

  * 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] #9093: Extend inclusion tag syntax to allow custom templates

2008-09-29 Thread Django
#9093: Extend inclusion tag syntax to allow custom templates
---+
  Reporter:  [EMAIL PROTECTED]  | Owner:  nobody   
Status:  new   | Milestone:  post-1.0 
 Component:  Template system   |   Version:  1.0  
Resolution:|  Keywords:  inclusion
 Stage:  Unreviewed| Has_patch:  1
Needs_docs:  0 |   Needs_tests:  0
Needs_better_patch:  0 |  
---+
Changes (by andybak):

 * cc: [EMAIL PROTECTED] (added)

-- 
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #9093: Extend inclusion tag syntax to allow custom templates

2008-09-21 Thread Django
#9093: Extend inclusion tag syntax to allow custom templates
---+
  Reporter:  [EMAIL PROTECTED]  | Owner:  nobody   
Status:  new   | Milestone:  post-1.0 
 Component:  Template system   |   Version:  1.0  
Resolution:|  Keywords:  inclusion
 Stage:  Unreviewed| Has_patch:  1
Needs_docs:  0 |   Needs_tests:  0
Needs_better_patch:  0 |  
---+
Changes (by anonymous):

 * cc: [EMAIL PROTECTED] (added)

-- 
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #9093: Extend inclusion tag syntax to allow custom templates

2008-09-16 Thread Django
#9093: Extend inclusion tag syntax to allow custom templates
---+
  Reporter:  [EMAIL PROTECTED]  | Owner:  nobody   
Status:  new   | Milestone:  post-1.0 
 Component:  Template system   |   Version:  1.0  
Resolution:|  Keywords:  inclusion
 Stage:  Unreviewed| Has_patch:  1
Needs_docs:  0 |   Needs_tests:  0
Needs_better_patch:  0 |  
---+
Changes (by anonymous):

  * needs_better_patch:  => 0
  * has_patch:  0 => 1
  * needs_tests:  => 0
  * needs_docs:  => 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



[Django] #9093: Extend inclusion tag syntax to allow custom templates

2008-09-15 Thread Django
#9093: Extend inclusion tag syntax to allow custom templates
--+-
 Reporter:  [EMAIL PROTECTED]  |   Owner:  nobody
   Status:  new   |   Milestone:  post-1.0  
Component:  Template system   | Version:  1.0   
 Keywords:  inclusion |   Stage:  Unreviewed
Has_patch:  0 |  
--+-
 Currently, inclusion tags are not very reusable since they are bound to a
 template at registration time.  For example, the only way to customize
 Djagno admin's `change_list_results.html` template is to ensure your
 template of the same name is found first.  I propose extending the
 inclusion tag syntax so that all inclusion tags can be called like so:

 {% show_results poll using "custom/results.html" %}

 If the "using ..." part is omitted, the template specified during
 registration will be used. (The keyword decided upon, 'using' in this
 case, is not important.)

 The only problem: this could break existing apps that use the keyword
 ('using' in this case) as a variable name. But we can make this behavior
 well-defined.

-- 
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---