Skip to content
This repository
Browse code

fixing #1: generating uuid after checkout

  • Loading branch information...
commit becc74c5e1554d92512b8cb6b521a0ed158ec370 1 parent 5e20e23
Timo Josten authored September 10, 2012

Showing 1 changed file with 4 additions and 0 deletions. Show diff stats Hide diff stats

  1. 4  preorder/app_views.py
4  preorder/app_views.py
@@ -103,6 +103,10 @@ def order_view(request):
103 103
 
104 104
 			for i in range(1, amount+1):
105 105
 				position = PreorderPosition(preorder=preorder, ticket=quota.ticket)
  106
+
  107
+				from uuid import uuid4
  108
+				position.uuid = str(uuid4())
  109
+
106 110
 				position.save()
107 111
 
108 112
 				quota.sold+=1

0 notes on commit becc74c

Please sign in to comment.
Something went wrong with that request. Please try again.