P-100, дата новости = дата начала голосов.
This commit is contained in:
1 parent
bd1942c45b
commit
84aae2c78d
1 file changed
+1
-1
@@ -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'),
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user