Closed
Bug 895172
Opened 12 years ago
Closed 12 years ago
Give every object in solitude an e-tag
Categories
(Marketplace Graveyard :: Payments/Refunds, defect, P4)
Tracking
(Not tracked)
RESOLVED
FIXED
2013-08-06
People
(Reporter: andy+bugzilla, Assigned: davidbgk)
References
Details
Before we do bug 845967 we need to give every object in solitude an etag. This bug is to alter the base model in solitude and give everything an etag. See bug 880311 for an example.
Reporter | ||
Updated•12 years ago
|
Priority: -- → P4
Reporter | ||
Updated•12 years ago
|
Assignee: nobody → david
Assignee | ||
Comment 1•12 years ago
|
||
We can't base our etags on Django's datetimes given the lack of support for microseconds:
buyer = Buyer.objects.create(uuid='sample:uuid')
print buyer.modified
2013-07-25 06:41:44.373290
print Buyer.objects.get(pk=1).modified
2013-07-25 06:41:44
and it doesn't look to be merged soon https://code.djangoproject.com/ticket/19716
The other option is to deal with some kind of counter for each resource or to accept that one-second collision trade-off.
Reporter | ||
Updated•12 years ago
|
Target Milestone: --- → 2013-08-01
Assignee | ||
Updated•12 years ago
|
Target Milestone: 2013-08-01 → 2013-08-08
Assignee | ||
Comment 2•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•