P-100, дата новости = дата начала голосов.

This commit is contained in:
Cja committed 2025-01-15 11:46:27 +03:00
1 parent bd1942c45b
commit 84aae2c78d
1 file changed
+1 -1
+1 -1
View File
@@ -124,7 +124,7 @@ class VoteCreate(APIView):
news = News(
title=title,
text = text,
cdate = datetime.now(),
cdate = request.data['startDate'],
author = vote_author,
link = request.FILES.get('image'),
)