<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def retrieve_old_notifications(self):
 """ Retrieve notifications older than X days, where X is specified in settings """


        date = ago(days=DELETE_OLD)

        return Notification.objects.filter(added__lte=date)