diff --git a/opps/promos/views.py b/opps/promos/views.py index ab79abe..a14fbed 100644 --- a/opps/promos/views.py +++ b/opps/promos/views.py @@ -52,7 +52,7 @@ def template_name(self): @property def queryset(self): site = get_current_site(self.request) - long_slug = self.kwargs['channel__long_slug'][:-1] + long_slug = self.kwargs['channel__long_slug'].strip('/') get_object_or_404(Channel, long_slug=long_slug) return Promo.objects.filter( channel__long_slug=long_slug,