예제 #1
0
 def get_template_context(self):
     return {
         'item': self.order.item.full_name,
         'item_lower': lower_first(self.order.item.full_name),
         'firstname': self.order.user.first_name,
         'item_url': self.order.item.get_absolute_url(),
     }
예제 #2
0
def test(input, expected):
    assert lower_first(input) == expected