2017-01-18 02:25:12 +01:00
|
|
|
from django.contrib import admin
|
2022-01-22 16:40:30 +01:00
|
|
|
|
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
|
|
|
|
2019-01-31 19:45:11 +01:00
|
|
|
|
|
|
|
class UserAdmin(admin.ModelAdmin):
|
|
|
|
list_display = ('username', 'dncall', 'qrv2m', 'qrv70cm', 'extra2m70cm')
|
2022-01-22 16:40:30 +01:00
|
|
|
|
|
|
|
|
2019-01-31 19:45:11 +01:00
|
|
|
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)
|