mirror of
				https://gitlab.com/animath/si/plateforme.git
				synced 2025-11-04 08:22:10 +01:00 
			
		
		
		
	Fix static files!
This commit is contained in:
		@@ -168,7 +168,7 @@ class DocumentView(LoginRequiredMixin, View):
 | 
			
		||||
        if not grant:
 | 
			
		||||
            raise PermissionDenied
 | 
			
		||||
 | 
			
		||||
        return FileResponse(doc.file, content_type="application/pdf")
 | 
			
		||||
        return FileResponse(doc.file, content_type="application/pdf", filename=str(doc) + ".pdf")
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class ProfileListView(AdminMixin, SingleTableView):
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user