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

Last change on this file since 9557 was 9395, checked in by rick, 13 years ago

We might as well want to store the results in the Django instance as well. Save some other hacks.

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