Exemple #1
0
 def get_object(self, request, path):
     """
     Retrieve the category by his path.
     """
     return get_category_or_404(path)
Exemple #2
0
 def get_object(self, request, path):
     return get_category_or_404(path)