Re: r15401 and removing star imports

2011-02-03 Thread bpeschier
On 3 feb, 10:28, Florian Apolloner wrote: > I think the "url" function should get added to the imports > inhttp://code.djangoproject.com/changeset/15401since many people use it > by now. Any thoughts or objections? +1 on that, I think it would be beneficial even for beginners to see url included

Re: Small decision needed on #15025

2011-01-14 Thread bpeschier
> what if you add an alters_data class attribute to your ModelForm subclass? > class MyForm(ModelForm): >  alters_data = True >   > > this way __call__ is not going to get called... No, but it will be replaced with settings.TEMPLATE_STRING_IF_INVALID. See: http://code.djangoproject.com/brows

Re: Small decision needed on #15025

2011-01-14 Thread bpeschier
I am agreeing with the changes as made in [14992] as they make things more consistent. The snag I run into was a flexible filter for making ModelForm-instances which took a form-class as an argument via a Variable. Since classes are callable (their constructor), suddenly I had a bunch of instances