no problem
Il 20 nov 2018, 18:38 +0100, Avitab Ayan Sarmah , ha
scritto:
> Thanks for your support. I will check and fix it. Thanks
>
> > On 20-Nov-2018 11:06 PM, "matteo gassend (LanguageMatt)"
> > wrote:
> > > A ForeignKey requires an “on_delete” argume
nit__() missing 1 required positional argument: 'on_delete'
>
> Please check :)
>
> On Tuesday, November 20, 2018 at 10:29:26 PM UTC+5:30, matteo gassend wrote:
> > the k in ForeignKey is Capitalized
> > Il 20 nov 2018, 17:57 +0100, Avitab Ayan Sarmah , ha
> > scri
the k in ForeignKey is Capitalized
Il 20 nov 2018, 17:57 +0100, Avitab Ayan Sarmah , ha
scritto:
> Hi everyone,
>
> I have written a code in models.py inside my project folder. I have completed
> my code and whenever i execute "python manage.py makemigrations first_app", i
> get an error. The er
You could always mix jquery with formsets
Il 26 set 2018, 18:02 +0200, Joel Mathew , ha scritto:
> You would use jquery to create the button using the $(selector).html(code).
> Since this doesnt fall within the scope of this django group, I wont
> elaborate. If you know basic javascript and jquery
>
>
>
> *From:* django...@googlegroups.com [mailto:
> django...@googlegroups.com ] *On Behalf Of *matteo gassend
> *Sent:* Monday, August 13, 2018 9:49 AM
> *To:* Django users
> *Subject:* Select2 default value
>
>
>
> Hey everyone,
>
>
>
> I
Hey everyone,
I am trying to set a default value for a Select2Widget(from django_select2)
to use in a formset.
I am able to set one for those added with js, but cannot set the one for
the form already present.
This is the form
class Ddt_in_itemForm(forms.ModelForm):
class Meta:
model = ddt_in
Hello everyone,
I am working with an inline formset of products associated with a shipment.
When modifying the products associated, I encounter a little problem. The
shipment needs to have the total amount of products and the total value of
all the products. This is not a problem when creating
Hello everyone,
I am trying to personalize my select fields in a django modelform, however
the changes are not reflected when I try to render the field. Anyone else
ever had this problem?
self.fields["prodotti_var"].widget.attrs.update({"class" :
"form-control
m-bootstrap-select m_sel
8 matches
Mail list logo