Hi all, This is my model if model contain previous month dates I need to and store the data If user is new previous data is not available I need to store directly to db . How to write orm query?
Attendance.object.filter(user=emp,date=enddate,crea_date=strdate) If dates is not available in attendance model how to write orm query? -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAMCU6CpfDPBznuRHVuz%3DbaJF8-R4Zn2U9GamBfm52fRMQqZ9rQ%40mail.gmail.com.

