escalant3 / ember-data-tastypie-adapter

An adapter to connect django applications powered by django-tastypie with ember.js apps
MIT License
102 stars 26 forks source link

Concurrency #44

Open pedrokiefer opened 9 years ago

pedrokiefer commented 9 years ago

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.