mirror of
https://github.com/evennia/evennia.git
synced 2026-03-24 00:36:30 +01:00
9 lines
No EOL
348 B
Python
9 lines
No EOL
348 B
Python
from django.contrib import admin
|
|
from src.helpsys.models import HelpEntry
|
|
|
|
class HelpEntryAdmin(admin.ModelAdmin):
|
|
list_display = ('id', 'topicname', 'staff_only')
|
|
list_display_links = ('id', 'topicname')
|
|
list_filter = ('staff_only',)
|
|
search_fields = ['topicname', 'entrytext']
|
|
admin.site.register(HelpEntry, HelpEntryAdmin) |