In a more clean way `if not datetime_obj: datetime_obj = datetime.datetime.now` and then return as you do now. We avoid repeating the timezone.make_aware statement