union in get_initial_queryset in datatable

2020-06-29 Thread Rajshree Some
list=Model1.objects.filter( reservation__in=Model.objects.filter(resource__in=resources).union( Model2.objects.filter( reservation__in=Model.object.filter(resource__in=resources).defer('col4','col5','col6'), Model3.objects.filter( res

raise DatabaseError('ORDER BY term does not match any column in the result set.')

2020-06-29 Thread Rajshree Some
how to send a union queryset in get_initial_queryset of django -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view

how to retrieve maximum value in many to many field

2020-07-13 Thread Rajshree Some
Table1 id 1 Item1 Good 2 Item2 bad Table2 Id table1_id marks 1. 1 23 2. 1 54 3. 2 66 4. 2 55 -- You received this message because you are subscribed to

join query to get the maximum value in django orm

2020-07-13 Thread Rajshree Some
Table1 id namecomment 1 Item1 Bad 2 Item2 Good Table2 Id table1_id marks 1. 1 23 2. 1 54 3. 2 66 4. 2

How can i send formdata and other data in ajax post

2020-11-10 Thread Rajshree Some
I have a Ajax post method where I am sending mutiple data but now I want to add formdata and capture it in post method as object.Can I do that? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving em

Add variable value in render field in django template

2020-11-20 Thread Rajshree Some
Hi Users, I have a value in variable occurence counter and I want to pass this value in this render field .Can anyone help it? {% render_field class+='form-control' data-id="occurence_counter " %} -- You received this message because you are subscribed to the Google Groups "Django users" group