In my view I am saving or say updating object like this :
Notification.objects.filter(id=self.npk, body=q, viewed=False).update(viewed=True)
Its working in the development. Its turning the notifications to viewed but in production its not.
In development I have used sqlite3 and in production I used mysql..
Whats the problem ??
Aucun commentaire:
Enregistrer un commentaire