I have a queryset like:
queryset = MyModel.objects.filter(available=True).values('creation_date')
here activation_date is DateTimeField in models. How can I convert this field('activation_date') in string?
I am getting error like:
'datetime object not JSON serializable'
Also my database is postgres.