source: src/django_gheat/gheat/admin.py@ 9583

Last change on this file since 9583 was 9579, checked in by rick, 13 years ago

Map a SSID to an organization to play nice with differnt SSIDs.

File size: 600 bytes
Line 
1from gheat.models import Accespoint, Apparatuur, Gebruiker, MeetRondje, Meting, MeetBestand
2from django.contrib import admin
3
4class AccespointAdmin(admin.ModelAdmin):
5 list_display = ['ssid','mac', 'organization']
6 search_fields = ['ssid', 'mac', 'organization']
7
8admin.site.register(Accespoint, AccespointAdmin)
9admin.site.register(Apparatuur)
10admin.site.register(Gebruiker)
11class MeetBestandInline(admin.TabularInline):
12 model = MeetBestand
13class MeetRondjeAdmin(admin.ModelAdmin):
14 inlines = [ MeetBestandInline, ]
15
16admin.site.register(MeetRondje, MeetRondjeAdmin)
17admin.site.register(Meting)
Note: See TracBrowser for help on using the repository browser.