You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
I have a Django model with a Boolean field called New. During the model creation it's set to True, but I want it to be updated automatically to False after a certain period (1 month post creation for example). Can I use signals here?
Mark Harley
unread,
Jan 6, 2016, 9:30:27 AM1/6/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
Another option is to replace the field with a "created" date time, and
add a computed property called "new" that tests to see whether it is
old or not.