Vista de detalle Use Slug o cualquier otra cosa PK

class TicketDetail(DetailView):
    model = Ticket

    def get_object(self, queryset=None):
        return Ticket.objects.get(uuid=self.kwargs.get("uuid"))
Clever Constrictor