Removing Expireable from PlaceVote
This commit is contained in:
		| @@ -221,12 +221,11 @@ class PlaceVoteView(IsEligibleToSeePlaceMixin, View): | ||||
|             voting = PlaceVoting.objects.create( | ||||
|                 submitted_by=explorer, | ||||
|                 place=place, | ||||
|                 vote=vote, | ||||
|                 expires_when=timezone.now()+self.delta | ||||
|                 vote=vote | ||||
|             ) | ||||
|             messages.success(self.request, _('Vote submitted')) | ||||
|         else: | ||||
|             voting.expires_when=timezone.now()+self.delta | ||||
|             voting.submitted_when = timezone.now() | ||||
|             voting.vote = vote | ||||
|             messages.success(self.request, _('Your vote has been update')) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user