add support for unicode-normalizing get/post-data?

2008-04-09 Thread Gábor Farkas
hi, would it be a good idea to add support to django to unicode-normalize incoming get/post-data? the normalization problem is basically this: for example my name, 'gábor' can be written in 2 different ways in unicode: u'g\xe1bor' and u'ga\u0301bor'. the first one uses the 'LATIN SMALL LETTER

Re: Easier URL patterns

2008-04-09 Thread Peter Rowell
> Django is the web framework for perfectionists with deadlines! Thank you. Somehow I missed that. :-) Seriously, one of the key things you do when marketing a product is identify your target audience. Adrian and Jacob (or their editors) had to do that when writing the book. What specifically m

Re: Easier URL patterns

2008-04-09 Thread Rajeev J Sebastian
On Wed, Apr 9, 2008 at 10:02 PM, Peter Rowell <[EMAIL PROTECTED]> wrote: > threshold they must/should clear in order to use it? I don't ask this > question sarcastically. If you were to write a 2 to 3 sentence > description of your intended developer audience, how would it read? Django is th

Re: Easier URL patterns

2008-04-09 Thread Peter Rowell
This conversation is reminiscent of many others I have seen in other technical communities through the years. I believe the need for a simpler URL pattern mechanism (and perhaps other simplifying tools) is largely dictated by the stated target audience for Django. If Django is meant for experienc

Re: Easier URL patterns

2008-04-09 Thread AmanKow
On Apr 8, 12:20 pm, Trevor Caira <[EMAIL PROTECTED]> wrote: > You don't need anything more than python string formatting for that. > e.g. > > slug_re = r'(?[-\w]+)' > year_re = r'(?\d{4})' > # snip > url(r'/article/%s/' % slug_re, views.article_detail), > url(r'/category/%s/' % slug_re, vi

Re: Easier URL patterns

2008-04-09 Thread Rajeev J Sebastian
On Wed, Apr 9, 2008 at 5:39 AM, Todd O'Bryan <[EMAIL PROTECTED]> wrote: > I thought I'd mention Kodos as a help for people with regex troubles: > > http://kodos.sourceforge.net/ > > When I've wondered why things just weren't working in my URLs, and I've > wasted time banging on stuff, copying the