[Answer]-Error passing the username to a Generic DetailView – django 1.4.3

1👍

You can’t do that sort of dynamic filtering in the urlconf. Subclass DetailView and override get_queryset to filter on self.kwargs['username'].

Leave a comment