66e20ebc26
Signed-off-by: Corentin Chary <corentincj@iksaif.net>
21 lines
609 B
Python
21 lines
609 B
Python
from euscan.models import Herd, Maintainer, Package, Version, VersionLog, EuscanResult, Log, \
|
|
WorldLog, CategoryLog, HerdLog, MaintainerLog
|
|
from django.contrib import admin
|
|
|
|
admin.site.register(Herd)
|
|
admin.site.register(Maintainer)
|
|
|
|
class PackageAdmin(admin.ModelAdmin):
|
|
search_fields = ('category', 'name')
|
|
admin.site.register(Package, PackageAdmin)
|
|
|
|
admin.site.register(Version)
|
|
admin.site.register(VersionLog)
|
|
admin.site.register(EuscanResult)
|
|
|
|
admin.site.register(Log)
|
|
admin.site.register(WorldLog)
|
|
admin.site.register(CategoryLog)
|
|
admin.site.register(HerdLog)
|
|
admin.site.register(MaintainerLog)
|