Re: shortcut proposal

2009-10-22 Thread Exe
On Mon, 19 Oct 2009 17:20:10 +0800 Russell Keith-Magee wrote: > > On Mon, Oct 19, 2009 at 4:47 PM, Exe wrote: > > > > Hello! > > > >> As a consequence of the proposed CSRF changes, we brought up > >> wanting to add a shortcut like render_to_respon

Re: shortcut proposal

2009-10-19 Thread Exe
Hello! > As a consequence of the proposed CSRF changes, we brought up wanting > to add a shortcut like render_to_response that uses RequestContext I want to propose another method. Why we need RequestContext? We need it to provide global template variables. Why this is a bad idea? It's bad be

Re: Jogging: my take on 1.2 logging

2009-10-19 Thread Exe
On Sun, 18 Oct 2009 14:44:45 -0700 Zain Memon wrote: > I was inspired by all the logging discussions lately, so I wrote a > wrapper for Python's logging module called jogging: > http://github.com/zain/jogging :) logging.critical("DOOM") # TODO --~--~-~--~~~-

Re: django.contrib.markup and ReST

2009-09-16 Thread Exe
> Interestingly, if the first title isn't the first line, then this > works fine... i.e. if you do: Yes, I discovered this. I don't know why. > You'll get the expected result... how often does your ReST content > start with a heading? Very often. Look at any ReST document and you will find sever

Re: django.contrib.markup and ReST

2009-09-15 Thread Exe
> What isn't working with section headers? They seem to be working fine > in the cases that I use them... > > Can you give an ReST example that is failing to render correctly? Shure. Test program to reproduce problem: from docutils.core import publish_parts

django.contrib.markup and ReST

2009-09-15 Thread Exe
Hello! I tried "restructuredtext" filters. At first look it seems to work fine, but I found that section headers doesn't work. After a while me constructed this patch. Please review and say if it possible to push it into upstream. Thank you for your attention. $ svn diff Index: markup.py ==