D
D
Dev_nab2018-08-21 23:49:39
Django
Dev_nab, 2018-08-21 23:49:39

Django - Protection against concurrent data editing?

Let's say there is news site.
How to make sure that if one user starts editing the news, others at the same time cannot do this until he finishes?
What is the best way to implement this?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergey Gornostaev, 2018-08-22
@Dev_nab

optimistic blocking.

S
sim3x, 2018-08-22
@sim3x

Save all revisions

S
Sanes, 2018-08-22
@Sanes

Change the status of a document.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question