diff --git a/project/db.sqlite3 b/project/db.sqlite3 index 7180d3e..1c85f91 100644 Binary files a/project/db.sqlite3 and b/project/db.sqlite3 differ diff --git a/project/notes/serializers.py b/project/notes/serializers.py index d3c12d3..b88fd12 100644 --- a/project/notes/serializers.py +++ b/project/notes/serializers.py @@ -4,6 +4,7 @@ from .models import Note class NoteSerializer(serializers.HyperlinkedModelSerializer): owner = serializers.ReadOnlyField(source='owner.username') + date_created = serializers.DateTimeField(format="%d-%m-%Y %I:%M%p") class Meta: model = Note