Display survey fields in User admin page
This commit is contained in:
parent
89eb979de3
commit
2aef677abd
|
@ -1,7 +1,10 @@
|
||||||
from django.contrib import admin
|
from django.contrib import admin
|
||||||
from .models import Frequency, Band, Reference, QSO, User, Contest, ShadowCall, EntryCategory
|
from .models import Frequency, Band, Reference, QSO, User, Contest, ShadowCall, EntryCategory
|
||||||
|
|
||||||
admin.site.register(User)
|
|
||||||
|
class UserAdmin(admin.ModelAdmin):
|
||||||
|
list_display = ('username', 'dncall', 'qrv2m', 'qrv70cm', 'extra2m70cm')
|
||||||
|
admin.site.register(User, UserAdmin)
|
||||||
admin.site.register(QSO)
|
admin.site.register(QSO)
|
||||||
admin.site.register(Band)
|
admin.site.register(Band)
|
||||||
admin.site.register(Frequency)
|
admin.site.register(Frequency)
|
||||||
|
|
Loading…
Reference in New Issue