escalant3 / ember-data-tastypie-adapter

An adapter to connect django applications powered by django-tastypie with ember.js apps

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Concurrency

pedrokiefer opened this issue · comments

A few questions I have on concurrency, with a basic scenario such as:

  1. A: POST / Create new resource
  2. B: GET resource
  3. B: PUT changes resource
  4. A: PUT changes resource

How are we handling it? Number 4 should fail, right?
What is the default behavior in tastypie?
Is django USE_ETAGS flag mandatory for this to work? If it is, are we handling ETAGS?

I think we don't have any kind of tests covering this, if anyone has an example of this, I can write the tests and make sure the adapter is working.