I believe that there is not other way to do this with AJAX. This is
an asynchronous call to database server. This not refresh your html
bye
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
El vie., 18 sept. 2020 a las 1:49, Emmanuel Oppong Ntiamoah (<
ladamo...@gmail.com>) escrib
Please share some code so we can look into.
On Friday, September 18, 2020 at 12:50:49 AM UTC-4 lada...@gmail.com wrote:
> Good day friends, Please i have a small challenge, I have an inline
> formset in my admin where users can add more products to a store. The user
> can also add a product if
Because Lee Hinde's thread is broken, I'm going to take a punt at what the
question is :)
in a formset (inline, model, or just a plain one), the "initial" parameter
to the instantiation of the form takes an list of dictionaries. Each
element in the list is the initial data for _that_ row... so
Right, I don't know whether this is a bug or done on purpose ... It looks
like it was done on purpose so I'd be happy to hear the experts on this.
I'm using Django 1.3. I hope I got this right.
On line 752 of django.forms.models (development trunk), in the add_fields()
method of BaseInlineFormS
You can iterate through the forms in your formset and call is_valid()
(and optionally save()) on them based on your needs.
Since your definition of "left blank" and "invalid" could vary based
on what you're doing, it's better that you make those decisions
explicit. If Django tried to decide for yo
I've managed to solve my problem.
view
item_form = ItemForm()
ImageFormSet = formset_factory(ImageForm)
image_formset = ImageFormSet()
template (I'm using uni_form in the template but it's no different)
{{ image_formset.management_form }}
{{ item_form|as
6 matches
Mail list logo