Re: no of forms in formset

2013-02-23 Thread Rafał Stożek
Look at: BaseFormSet.total_form_count() method BaseFormSet._construct_forms() method On Sat, Feb 23, 2013 at 6:51 PM, ANKIT BAGARIA wrote: > this is an example from formset documentation: > > from django import forms>>> class ArticleForm(forms.Form):... title = > forms.CharField()...

no of forms in formset

2013-02-23 Thread ANKIT BAGARIA
this is an example from formset documentation: from django import forms>>> class ArticleForm(forms.Form):... title = forms.CharField()... pub_date = forms.DateField() from django.forms.formsets import formset_factory ArticleFormSet = formset_factory(ArticleForm, extra=2) formset = Arti

Re: Replacing get_absolute_url, I am against it

2013-02-23 Thread Daniel Sokolowski
Would anyone know if there is still any momentum behind this? I like Adamcik's approach. On Saturday, 12 September 2009 07:42:40 UTC-4, adamcik wrote: > > On Thu, Sep 10, 2009 at 11:58:00AM -0400, Waylan Limberg wrote: > > > > Easy, get_url returns the entire url while get_url_path returns onl