How can i do both these things at the same time(same instance)?
entity = payment_detail( payment_status='Paid', payment_date=datetime.datetime.now())
a=payment_detail.objects.get(job_post_id=num)
How can i do both these things at the same time(same instance)?
entity = payment_detail( payment_status='Paid', payment_date=datetime.datetime.now())
a=payment_detail.objects.get(job_post_id=num)