Sunday, February 23, 2014

Freezing records in a model after a set time

I would like to enable a user to insert and modify a record in a django model for a specific stretch of time, say one hour, and,when this time's up (for that specific record), the user shouldn't be allowed to modify or delete the record. Another user (kind of a superuser) with higher permissions should be enabled to modify or delete the record after that time has elapsed
Before starting to code a python script to obtain that I would like to know if there is any Github or other "out-of-the-box"django package doing something like that.

Thanks a lot
Vittorio

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/71B6B30D-DF62-44D1-9DB6-EAB32D0E4029%40de-martino.it.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment