<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_previous(self):
 """Get the billing cycle prior to this one. May return None"""

        return BillingCycle.objects.filter(date_range__lt=self.date_range).order_by('date_range').last()