medialab / forccast-backoffice

forccast backoffice application
GNU General Public License v3.0
0 stars 0 forks source link

Unpublished news : update website - remove all data before updating news ? #2

Open robindemourat opened 7 years ago

robindemourat commented 7 years ago

We have the usecase of a hypothese's post that was published by mistake and then unpublished. It is still published on the website even if unpublished or deleted on hypotheses (I guess it is because the fetching routine just create or update posts, but do not remove previous data).

For now the problem is handled by rm -rf the data on the server, then reloading it, but it would be nice to see that done automatically.