1
0
mirror of https://github.com/creyD/asiimov.git synced 2026-06-13 01:22:23 +02:00

Added test admin interface

This commit is contained in:
2020-01-10 21:50:57 +01:00
parent 9dd15f12a7
commit b712e98815
3 changed files with 9 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
from django.contrib import admin
from .models import ItemType, Stickers, ItemInstance, Badge, Gamer
# Register your models here.
@admin.register(ItemType)
class ItemTypeAdmin(admin.ModelAdmin):
list_display = ('paint_index', 'name', 'type', 'rarity', 'min_float', 'max_float', 'tradable')
list_editable = ()