mirror of
				https://gitlab.com/animath/si/plateforme.git
				synced 2025-11-04 03:42:11 +01:00 
			
		
		
		
	Store what messages are read
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
		@@ -19,4 +19,4 @@ class MessageAdmin(admin.ModelAdmin):
 | 
			
		||||
    list_display = ('channel', 'author', 'created_at', 'updated_at', 'content',)
 | 
			
		||||
    list_filter = ('channel', 'created_at', 'updated_at',)
 | 
			
		||||
    search_fields = ('author__username', 'author__first_name', 'author__last_name', 'content',)
 | 
			
		||||
    autocomplete_fields = ('channel', 'author',)
 | 
			
		||||
    autocomplete_fields = ('channel', 'author', 'users_read',)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user