Re: Template handling of undefined variables

2017-03-06 Thread Tim Martin
On Wednesday, 1 March 2017 19:52:22 UTC, Luke Plant wrote: > > > This is a really big backwards incompatibility, as far as I can see. It > means that any filter may now get passed `UndefinedVariable` instead of > being passed `None` or string_if_invalid. So for example, the following > templat

Re: Feature idea: forms signals

2017-03-06 Thread Aymeric Augustin
Hello, My experience with Django — and not just with inexperienced developers — is that signals are a footgun. I've seen them misused as workarounds for badly structured code and unclear dependency trees too often. I'm not eager to encourage their use. Fundamentally, signals in Django allow a

Feature idea: forms signals

2017-03-06 Thread David Seddon
Hi all, One thing I've always found challenging with Django is to adjust the functionality of forms from other apps. An example might be to add an extra field to a login form provided by a third party module. What I end up doing is often overriding the urlconf, view and form class. Or, worse

Re: Commitable json dumps

2017-03-06 Thread Adam Johnson
PyYAML sorts keys by default, so if you use the YAML serializer that should work for your usecase. I think patching the JSON serializer to be deterministic by default is a good idea, the performance cost of sorting keys is pretty small compared to disk operations. On 6 March 2017 at 11:32, Brice

Re: Introduction GSoC 2017

2017-03-06 Thread Tim Graham
Hi, Have you read the wiki page? https://code.djangoproject.com/wiki/SummerOfCode2017 It contains getting started tips. If so, please be more specific with your questions. On Monday, March 6, 2017 at 7:25:31 AM UTC-5, sahil jain wrote: > > Hello Everyone > I am a sophomore major in computer scie

Re: Google Summer of Code 2017

2017-03-06 Thread Tim Graham
Have you read the wiki page? https://code.djangoproject.com/wiki/SummerOfCode2017 It contains getting started tips. If so, please be more specific with your questions. On Sunday, March 5, 2017 at 11:11:17 AM UTC-5, Pranav Jadhav wrote: > > Hey Tim, > I am Pranav Jadhav, an undergrad student

Introduction GSoC 2017

2017-03-06 Thread sahil jain
Hello Everyone I am a sophomore major in computer science and engineering. I would like to contribute to django . I am interested in project Replace form media class for GSoC 2017 I have been working with django for more than year. Please suggest where to begin with, Regards Sahil Jain -- You

Re: Database connection retry

2017-03-06 Thread Aymeric Augustin
> On 5 Mar 2017, at 12:27, James Pic wrote: > > However, I'm still a bit puzzled by having a process that's just stuck when > checks fail (if I understand correctly) is there any particular reason why it > is this way ? If not, perhaps a retry or exit could improve the developer > experience

Re: Project idea for GSoC page - Support for expressions in indexes

2017-03-06 Thread Florian Apolloner
On Monday, March 6, 2017 at 3:57:48 AM UTC+1, akki wrote: > > > > On Sunday, 5 March 2017 01:53:28 UTC+5:30, Florian Apolloner wrote: >> >> On Saturday, March 4, 2017 at 7:10:57 PM UTC+1, akki wrote: >>> >>> First of all let's not call the work done by the 1000s of GSoC mentors >>> every year "p