cqtu/contest/admin.py

15 lines
487 B
Python
Raw Normal View History

2017-01-18 02:25:12 +01:00
from django.contrib import admin
2017-01-26 20:36:55 +01:00
from .models import Frequency, Band, Reference, QSO, User, Contest, ShadowCall, EntryCategory
2017-01-18 02:25:12 +01:00
class UserAdmin(admin.ModelAdmin):
list_display = ('username', 'dncall', 'qrv2m', 'qrv70cm', 'extra2m70cm')
admin.site.register(User, UserAdmin)
2017-01-18 02:25:12 +01:00
admin.site.register(QSO)
admin.site.register(Band)
admin.site.register(Frequency)
admin.site.register(Reference)
2017-01-19 18:42:11 +01:00
admin.site.register(Contest)
2017-01-25 01:53:22 +01:00
admin.site.register(ShadowCall)
2017-01-26 20:36:55 +01:00
admin.site.register(EntryCategory)