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(
|
news = News(
|
||||||
title=title,
|
title=title,
|
||||||
text = text,
|
text = text,
|
||||||
cdate = datetime.now(),
|
cdate = request.data['startDate'],
|
||||||
author = vote_author,
|
author = vote_author,
|
||||||
link = request.FILES.get('image'),
|
link = request.FILES.get('image'),
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in new issue
Block a user