Re: [Django] #9504: Extension for restructuredtext filter a django.contrib.markup

2011-12-12 Thread Django
#9504: Extension for restructuredtext filter a django.contrib.markup
-+-
 Reporter:  jjconti  |Owner:  nobody
 Type:  New feature  |   Status:  closed
Component:  contrib.markup   |  Version:  1.0
 Severity:  Normal   |   Resolution:  duplicate
 Keywords:  markup   | Triage Stage:  Design
  restructuredtext   |  decision needed
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by aaugustin):

 * status:  new => closed
 * ui_ux:   => 0
 * resolution:   => duplicate
 * easy:   => 0


Comment:

 I just turned the snippet into a diff for ease of reviewing. This ticket
 conflicts with #11342 which has a much better explanation of the issue at
 hand. I'll close it as a duplicate of #11342 and leave a note over there.

-- 
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] #9504: Extension for restructuredtext filter a django.contrib.markup

2009-06-18 Thread Django
#9504: Extension for restructuredtext filter a django.contrib.markup
-+--
  Reporter:  jjconti | Owner:  nobody   
  
Status:  new | Milestone:   
  
 Component:  Contrib apps|   Version:  1.0  
  
Resolution:  |  Keywords:  markup 
restructuredtext
 Stage:  Design decision needed  | Has_patch:  0
  
Needs_docs:  0   |   Needs_tests:  0
  
Needs_better_patch:  0   |  
-+--
Comment (by SmileyChris):

 See also: #11342

-- 
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] #9504: Extension for restructuredtext filter a django.contrib.markup

2009-02-26 Thread Django
#9504: Extension for restructuredtext filter a django.contrib.markup
-+--
  Reporter:  jjconti | Owner:  nobody   
  
Status:  new | Milestone:   
  
 Component:  Contrib apps|   Version:  1.0  
  
Resolution:  |  Keywords:  markup 
restructuredtext
 Stage:  Design decision needed  | Has_patch:  0
  
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] #9504: Extension for restructuredtext filter a django.contrib.markup

2008-11-02 Thread Django
#9504: Extension for restructuredtext filter a django.contrib.markup
---+
  Reporter:  jjconti   | Owner:  nobody 
Status:  new   | Milestone:  post-1.0   
 Component:  Contrib apps  |   Version:  1.0
Resolution:|  Keywords:  markup restructuredtext
 Stage:  Unreviewed| Has_patch:  0  
Needs_docs:  0 |   Needs_tests:  0  
Needs_better_patch:  0 |  
---+
Changes (by jjconti):

  * needs_better_patch:  => 0
  * component:  Uncategorized => Contrib apps
  * 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] #9504: Extension for restructuredtext filter a django.contrib.markup

2008-11-02 Thread Django
#9504: Extension for restructuredtext filter a django.contrib.markup
-+--
 Reporter:  jjconti  |   Owner:  nobody
   Status:  new  |   Milestone:  post-1.0  
Component:  Uncategorized| Version:  1.0   
 Keywords:  markup restructuredtext  |   Stage:  Unreviewed
Has_patch:  0|  
-+--
 As suggested at 0 I browserd markup sorce code1 to see how does
 restructuredtext filter work. I founded that it returns only the fragment
 part instead on other contet. I suggest an argument fot the filter to be
 used in parts[arg].

 The suggested implementation is, as follow (two small changes):

 {{{
 def restructuredtext(value, arg="fragment"):
 try:
 from docutils.core import publish_parts
 except ImportError:
 if settings.DEBUG:
 raise template.TemplateSyntaxError, "Error in {%
 restructuredtext %} filter: The Python docutils library isn't installed."
 return force_unicode(value)
 else:
 docutils_settings = getattr(settings,
 "RESTRUCTUREDTEXT_FILTER_SETTINGS", {})
 parts = publish_parts(source=smart_str(value),
 writer_name="html4css1", settings_overrides=docutils_settings)
 return mark_safe(force_unicode(parts[arg]))
 restructuredtext.is_safe = True
 }}}


 [0] http://docs.djangoproject.com/en/dev/ref/contrib/#ref-contrib-markup

 [1]
 
http://code.djangoproject.com/browser/django/trunk/django/contrib/markup/templatetags/markup.py

-- 
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
-~--~~~~--~~--~--~---