mirror of
				https://gitlab.crans.org/mediatek/med.git
				synced 2025-11-04 15:22:27 +01:00 
			
		
		
		
	Show games in Admin menu
This commit is contained in:
		@@ -161,6 +161,7 @@ class GameAdmin(VersionAdmin, PolymorphicChildModelAdmin):
 | 
			
		||||
                    'players_max', 'comment')
 | 
			
		||||
    search_fields = ('name', 'owner__username', 'duration', 'comment')
 | 
			
		||||
    autocomplete_fields = ('owner',)
 | 
			
		||||
    show_in_index = True
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
admin_site.register(Author, AuthorAdmin)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user