Re: Customizable Serialization check-in

2012-08-24 Thread Russell Keith-Magee
Hi Piotr, Thank you so much for your efforts over the summer. I'd also like to apologise for my lack of communication; I certainly haven't been a model mentor over the course of the program. Although we may not have achieved all the goals we set out to achieve at the start of the program, I don'

Re: Python 3 str.format()

2012-08-24 Thread Daniel Swarbrick
On 24/08/12 22:47, claudep wrote: One more reason not to adopt too quickly this syntax is missing support from gettext. http://savannah.gnu.org/bugs/?30854 Right. That makes up my mind then. I can't afford to be without gettext support. Until gettext supports the newer format, and until

Re: Python 3 str.format()

2012-08-24 Thread claudep
Le vendredi 24 août 2012 19:11:49 UTC+2, Ian a écrit : > Until the Python developers announce an actual timeline for removal > (if they ever do), I can't see any reason for Django to be concerned > about which formatting approach to use, apart from the immediate > concerns of style and efficie

Re: Python 3 str.format()

2012-08-24 Thread Alex Ogier
> Until the Python developers announce an actual timeline for removal > (if they ever do), I can't see any reason for Django to be concerned > about which formatting approach to use, apart from the immediate > concerns of style and efficiency. I don't think Python will ever remove %-style formatti

Re: Python 3 str.format()

2012-08-24 Thread Ian Kelly
On Fri, Aug 24, 2012 at 10:30 AM, Daniel Swarbrick wrote: > On 24 August 2012 18:12, Carl Meyer wrote: >> Can you link to where in the current docs it specifies that %-formatting >> is deprecated and/or will be removed? I can't even find, on a cursory >> search, where it says the new .format() st

Re: Python 3 str.format()

2012-08-24 Thread Daniel Swarbrick
On 24 August 2012 18:12, Carl Meyer wrote: > Can you link to where in the current docs it specifies that %-formatting > is deprecated and/or will be removed? I can't even find, on a cursory > search, where it says the new .format() style should be preferred. It's not easy to find - I've only foun

Re: Python 3 str.format()

2012-08-24 Thread Carl Meyer
Hi Daniel, On 08/24/2012 09:56 AM, Daniel Swarbrick wrote: > Since Django 1.5 has set the minimum version of Python at 2.6, and in > conjunction with the push to make Django more Python 3 compatible, > should we slowly start migrating to the new format string [1] syntax? > The Python docs state th

Python 3 str.format()

2012-08-24 Thread Daniel Swarbrick
Hi folks, Apologies in advance if this topic has already been raised. I don't believe I've seen it on the list since I've been subscribed. Since Django 1.5 has set the minimum version of Python at 2.6, and in conjunction with the push to make Django more Python 3 compatible, should we slowly s

Re: #16455 PostGIS 2.0 support

2012-08-24 Thread Flavio Curella
Thanks everyone for the feedback on this patch. I've added some code that deals with database creation. Specifically, to support the template database approach also on PostGIS 2. I still have some failing test, but they fail on both PostGIS1.5 and 2.0. I'm running ``./runtests.py --settings= gi

Re: Python 3: should we apply unicode_literals everywhere?

2012-08-24 Thread Vinay Sajip
I would also prefer Option 2, as the places where str('...') are needed are not all that many. Regards, Vinay Sajip -- You received this message because you are subscribed to the Google Groups "Django developers" group. To view this discussion on the web visit https://groups.google.com/d/msg

Re: After form validation, need to post and call a perl program to display to a log file

2012-08-24 Thread Pervez Mulla
Oh ok, Sorry On Fri, Aug 24, 2012 at 4:28 PM, Karen Tracey wrote: > Please do not crosspost to both django-users and django-developers. -users > is for discussions centering around using Django, that was the right list > for this question. -developers is for discussions of the development of >

Re: After form validation, need to post and call a perl program to display to a log file

2012-08-24 Thread Karen Tracey
Please do not crosspost to both django-users and django-developers. -users is for discussions centering around using Django, that was the right list for this question. -developers is for discussions of the development of Django itself. Karen -- You received this message because you are subscribe

After form validation, need to post and call a perl program to display to a log file

2012-08-24 Thread Pervez Mulla
Hi, I have written code for form validation for different filed . Once validation happened (its working good), I wanna call perl script to disply it content to lof file ... How can I do this ..?? Please help me -- You received this message because you are subscribed to the Google Groups

Re: Customizable Serialization check-in

2012-08-24 Thread Tom Christie
Thanks Piotr, It's been interesting and helpful watching your progress on this project. I wouldn't worry too much about not quite meeting all the goals you'd hoped for - it's a deceptively difficult task. In particular it's really difficult trying to maintain full backwards comparability with

Re: Why is CSRF cookie persistent?

2012-08-24 Thread Gruffudd Williams
Many thanks for the reply. This is perfect and I can get back to the pen-testers now that I fully understand the issue. Regards, Gruff On Thursday, 23 August 2012 02:04:56 UTC+1, Paul McMillan wrote: > > Hi Gruffudd, > > If the cookie were set to expire at browser close, it would cause CSRF >