OK, thanks! I won't use it for this specific case, but I'm sure it will be
extremely helpful in the future. The logic you've shown can be applied in
other different contexts.
Andrea
2014-07-25 17:49 GMT+02:00 Tom Evans :
> On Fri, Jul 25, 2014 at 4:00 PM, Andrea wrote:
> > Thanks Tom, now I se
On Fri, Jul 25, 2014 at 4:00 PM, Andrea wrote:
> Thanks Tom, now I see your point.
> As my API was crafted on the previous version of Datatables, and used only
> for that purpose, I prefer just to replace it with the new one.
> Had I already an API for whatever reason, I see the usefulness and the
Thanks Tom, now I see your point.
As my API was crafted on the previous version of Datatables, and used only
for that purpose, I prefer just to replace it with the new one.
Had I already an API for whatever reason, I see the usefulness and the
importance of your approach. I understand the logic, bu
On Fri, Jul 25, 2014 at 2:46 PM, Andrea wrote:
> Hi Tom,
>
> thanks for your answer.
> I'm not sure I got it right, do you mean something like the following?
>
> class DataTablesForm(forms.Form):
> def __init__(self, *args, **kwargs):
> super(DataTablesForm, self).__init__(*args, **kwa
Sorry, the code was a bit of a mess. The following works, although it seems
to me that in principle I could think of better solutions, as the GET data
is somehow well organized in an array and not plain as it is in my form
class.
class DataTablesForm(forms.Form):
draw = forms.IntegerField()
Hi Tom,
thanks for your answer.
I'm not sure I got it right, do you mean something like the following?
class DataTablesForm(forms.Form):
def __init__(self, *args, **kwargs):
super(DataTablesForm, self).__init__(*args, **kwargs)
self.fields['_'] = forms.CharField()
fo
On Fri, Jul 25, 2014 at 7:07 AM, Andrea wrote:
> Dear all,
>
> I'm trying to let Django being able to answer to requests by
> jQuery-Datatables (http://datatables.net/).
> Considering the example at this link
> (http://www.datatables.net/examples/data_sources/server_side.html) to fill
> up the jQu
7 matches
Mail list logo