Changeset 9585 for src/django_gheat/gheat
- Timestamp:
- Aug 27, 2011, 4:12:51 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/django_gheat/gheat/admin.py
r9579 r9585 5 5 list_display = ['ssid','mac', 'organization'] 6 6 search_fields = ['ssid', 'mac', 'organization'] 7 admin.site.register(Accespoint, AccespointAdmin) 7 8 8 admin.site.register(Accespoint, AccespointAdmin)9 admin.site.register(Apparatuur)10 admin.site.register(Gebruiker)11 9 class MeetBestandInline(admin.TabularInline): 12 10 model = MeetBestand 13 11 class MeetRondjeAdmin(admin.ModelAdmin): 14 12 inlines = [ MeetBestandInline, ] 13 admin.site.register(MeetRondje, MeetRondjeAdmin) 15 14 16 admin.site.register(MeetRondje, MeetRondjeAdmin) 17 admin.site.register(Meting) 15 admin.site.register(Apparatuur) 16 admin.site.register(Gebruiker) 17 18 class MetingAdmin(admin.ModelAdmin): 19 list_display = ['accespoint', 'latitude', 'longitude', 'signaal'] 20 search_fields = ['accespoint__ssid'] 21 admin.site.register(Meting, MetingAdmin)
Note:
See TracChangeset
for help on using the changeset viewer.