(Feature Request) Add creation and updation timestamp fields to Redirect Model
46 views
Skip to first unread message
Ashish Gupta
unread,
Feb 1, 2017, 7:36:05 AM2/1/17
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
to Django developers (Contributions to Django itself)
The existing Redirect Model has no field for creation and updation timestamp. Many Django applications use slug based urls, and a redirect is created whenever slug changes. The redirects table will keep expanding and there will be no way to identify or delete the old redirects later, may be after 1 or 2 year. Adding date_created and date_modified fields will help to filter the old redirects and remove them. I feel this should be added in Django core.