Monday, August 29, 2011

Re: Delete after specific date

Thanks Bill, seems that cron is the easiest way even if I don't like
it. I was looking for more pythonic way. Anyway thanks for reply.

Goran


On Aug 29, 7:26 pm, Bill Freeman <ke1g...@gmail.com> wrote:
> Presuming deleted sometime on the day is close enough, write a
> management command that queries for items beyond their
> expiration and deletes them.  Run this script nightly using cron, or
> you O/S's equivalent.
>
> Bill

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment