mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-15 02:33:22 +00:00
11 lines
325 B
Python
11 lines
325 B
Python
|
from django.contrib import admin
|
||
|
|
||
|
from antispam.models import ToxicDomain
|
||
|
|
||
|
|
||
|
@admin.register(ToxicDomain)
|
||
|
class ToxicDomainAdmin(admin.ModelAdmin):
|
||
|
list_display = ("domain", "is_externally_managed", "created")
|
||
|
search_fields = ("domain", "is_externally_managed", "created")
|
||
|
list_filter = ("is_externally_managed",)
|