mirror of
				https://gitlab.crans.org/bde/nk20
				synced 2025-11-04 09:12:11 +01:00 
			
		
		
		
	Display only one user
This commit is contained in:
		@@ -131,7 +131,7 @@ class UserDetailView(ProtectQuerysetMixin, LoginRequiredMixin, DetailView):
 | 
			
		||||
        """
 | 
			
		||||
        We can't display information of a not registered user.
 | 
			
		||||
        """
 | 
			
		||||
        return super().get_queryset().filter(profile__registration_valid=True)
 | 
			
		||||
        return super().get_queryset().filter(profile__registration_valid=True).distinct()
 | 
			
		||||
 | 
			
		||||
    def get_context_data(self, **kwargs):
 | 
			
		||||
        context = super().get_context_data(**kwargs)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user