Re: Django 1.2 release candidate available

2010-05-05 Thread Rajeev J Sebastian
On Thu, May 6, 2010 at 10:43 AM, Alex Gaynor wrote: > > You are however allowed to start earlier if you buy Russ and Karen a > drink, they deserve thanks for all the hard work they've put in. Oh, I wouldn't miss a chance to make small talk over drinks with the django gods

Re: Django 1.2 release candidate available

2010-05-05 Thread Rajeev J Sebastian
On Thu, May 6, 2010 at 10:37 AM, James Bennett wrote: > On Wed, May 5, 2010 at 11:53 PM, Rajeev J Sebastian > wrote: >> When can we start discussing potential small/micro fixes for the next >> version of django? > > A week or two after 1.2 final

Re: Django 1.2 release candidate available

2010-05-05 Thread Alex Gaynor
On Thu, May 6, 2010 at 1:07 AM, James Bennett wrote: > On Wed, May 5, 2010 at 11:53 PM, Rajeev J Sebastian > wrote: >> When can we start discussing potential small/micro fixes for the next >> version of django? > > A week or two after 1.2 final

Re: Django 1.2 release candidate available

2010-05-05 Thread James Bennett
On Wed, May 5, 2010 at 11:53 PM, Rajeev J Sebastian wrote: > When can we start discussing potential small/micro fixes for the next > version of django? A week or two after 1.2 final is released. -- "Bureaucrat Conrad, you are technically correct -- the best kind of

Re: Django 1.2 release candidate available

2010-05-05 Thread Rajeev J Sebastian
On Thu, May 6, 2010 at 10:10 AM, James Bennett wrote: > Tonight we're proud to announce, finally, the first Django 1.2 release > candidate. If all goes well, it will also be the *only* release > candidate, and Django 1.2 final will release one week from today. Congrats on

Django 1.2 release candidate available

2010-05-05 Thread James Bennett
Tonight we're proud to announce, finally, the first Django 1.2 release candidate. If all goes well, it will also be the *only* release candidate, and Django 1.2 final will release one week from today. For more information, consult: * The Django project weblog:

Re: Template Tag Not Reinitialized in Loop

2010-05-05 Thread Alex Gaynor
On Wed, May 5, 2010 at 4:27 PM, Apreche wrote: > Well, I think my suggestion is obviously that when a template tag is > in a loop, it should be re-initiated on every iteration, since that > would avoid unexpected and non-obvious side effects. > > -Scott > > On May 5, 2:52 pm,

Re: Template Tag Not Reinitialized in Loop

2010-05-05 Thread Apreche
Well, I think my suggestion is obviously that when a template tag is in a loop, it should be re-initiated on every iteration, since that would avoid unexpected and non-obvious side effects. -Scott On May 5, 2:52 pm, "burc...@gmail.com" wrote: > Hi Apreche, > > I don't want to

Re: Silently replaced session_key

2010-05-05 Thread Jeremy Dunck
On Wed, May 5, 2010 at 2:45 PM, George Sakkis wrote: ... > I'm repeating myself here but if the intention is to really disallow > user-provided ids. it can be done more clearly: raise an exception if > the key does not exist and make the session_key property read-only. >

Re: logging?

2010-05-05 Thread Jacob Kaplan-Moss
On Wed, May 5, 2010 at 1:53 PM, Kevin Howerton wrote: > Where django pulls a 500 it should call these two lines, which will > dump the exception raised to stderr. > >    type, value, traceback = sys.exc_info() >    sys.excepthook(type, value, traceback) No, really it

Re: Silently replaced session_key

2010-05-05 Thread George Sakkis
On May 5, 12:25 pm, Tom Evans wrote: > On Wed, May 5, 2010 at 10:24 AM, George Sakkis > wrote: > > On May 4, 11:05 pm, Jacob Kaplan-Moss wrote: > > >> On Tue, May 4, 2010 at 3:11 PM, George Sakkis

Re: logging?

2010-05-05 Thread Mike Axiak
Why does this facility need to exist within Django? At least one person [1] has written a middleware to do what you're saying. If it's that important, people will start to use that app. There are certainly many potential features people want out of logging, so it'd definitely be better suited for

Re: logging?

2010-05-05 Thread Kevin Howerton
Yeah... not sure, though thank you for actually reading and responding to my post. "I think the problem you are having is more related to mod_wsgi, and possible differences between it and mod_python, than Django." Absolutely. Though, I'm not sure if it's the official recommendation of

Re: logging?

2010-05-05 Thread Karen Tracey
On Wed, May 5, 2010 at 12:46 PM, Kevin Howerton wrote: > What I was suggesting in my post though, was that we alter the default > CRITICAL error handling behavior ... as it stands (by default) all of > my ERRORs are being suppressed in production. This is pretty >

Re: logging?

2010-05-05 Thread Kevin Howerton
I did. On Wed, May 5, 2010 at 12:56 PM, Jacob Kaplan-Moss wrote: > On Wed, May 5, 2010 at 11:48 AM, Kevin Howerton > wrote: >> ps.  I don't want to get into a flamewar > > Then next time leave out the rambling, ad hominems, and sweeping >

Re: logging?

2010-05-05 Thread Jacob Kaplan-Moss
On Wed, May 5, 2010 at 11:48 AM, Kevin Howerton wrote: > ps.  I don't want to get into a flamewar Then next time leave out the rambling, ad hominems, and sweeping generalizations. Focus on technical suggestions -- working code is even better. If you have problems,

Re: logging?

2010-05-05 Thread Kevin Howerton
Both yours and simon wilsons solutions look like great solutions. Though possibly over-arching for an initial implementation of logging, but if an implementation like that makes it into 1.3 in one fell swoop I would be as happy as a clam. Making use of python's built-in logging facility should be

Re: logging?

2010-05-05 Thread Kevin Howerton
Both yours and simon wilsons solutions look like great solutions. Though possibly over-arching for an initial implementation of logging, but if an implementation like that makes it into 1.3 in one fell swoop I would be as happy as a clam. Making use of python's built-in logging facility should be

Re: logging?

2010-05-05 Thread Kevin Howerton
Both yours and simon wilsons solutions look like great solutions. Though possibly over-arching for an initial implementation of logging, but if an implementation like that makes it into 1.3 in one fell swoop I would be as happy as a clam. Making use of python's built-in logging facility should be

Re: Regression tests and translations for new localflavor feature.

2010-05-05 Thread Russell Keith-Magee
On Wed, May 5, 2010 at 9:03 PM, Felipe Prenholato wrote: > Hello people. > Last night I opened ticket 13473 that aims easy use of model fields for > Braziliam CPF and CNPJ fields (as showed in ticket). > After initial work, I need to construct tests and make translations. >

Regression tests and translations for new localflavor feature.

2010-05-05 Thread Felipe Prenholato
Hello people. Last night I opened ticket 13473 that aims easy use of model fields for Braziliam CPF and CNPJ fields (as showed in ticket). After initial work, I need to construct tests and make translations. My first point is: what is right place to

Re: Newbie

2010-05-05 Thread Tom Evans
On Wed, May 5, 2010 at 7:16 AM, sujith h wrote: > Hi, > > I am newbie to django. And I had read the first 8 chapters of django from > the django book 2.0 > (http://www.djangobook.com/en/2.0/chapter02/). I would like to do code > contribute to django. > I had gone through some

Newbie

2010-05-05 Thread sujith h
Hi, I am newbie to django. And I had read the first 8 chapters of django from the django book 2.0 (http://www.djangobook.com/en/2.0/chapter02/). I would like to do code contribute to django. I had gone through some of the tickets in the django website http://code.djangoproject.com/query. I found

Re: Silently replaced session_key

2010-05-05 Thread Tom Evans
On Wed, May 5, 2010 at 10:24 AM, George Sakkis wrote: > On May 4, 11:05 pm, Jacob Kaplan-Moss wrote: > >> On Tue, May 4, 2010 at 3:11 PM, George Sakkis >> wrote: >> > Is this a bug or a feature ? >> >> Take a look at the

Re: Silently replaced session_key

2010-05-05 Thread George Sakkis
On May 4, 11:05 pm, Jacob Kaplan-Moss wrote: > On Tue, May 4, 2010 at 3:11 PM, George Sakkis wrote: > > Is this a bug or a feature ? > > Take a look at the source (django/contrib/sessions/backends/db.py; > line 16 - the load() function). If the

Re: logging?

2010-05-05 Thread Vinay Sajip
On May 5, 4:47 am, Kevin Howerton wrote: I think the plan was to look at integrating logging after the 1.2 release was done. The original discussion was here: http://groups.google.com/group/django-developers/browse_frm/thread/8551ecdb7412ab22/ With Django's