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

Last change on this file since 9559 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
RevLine 
[9395]1from gheat.models import Accespoint, Apparatuur, Gebruiker, MeetRondje, Meting, MeetBestand
[9041]2from django.contrib import admin
3
[9054]4admin.site.register(Accespoint)
5admin.site.register(Apparatuur)
[9041]6admin.site.register(Gebruiker)
[9395]7class MeetBestandInline(admin.TabularInline):
8 model = MeetBestand
9class MeetRondjeAdmin(admin.ModelAdmin):
10 inlines = [ MeetBestandInline, ]
11
12admin.site.register(MeetRondje, MeetRondjeAdmin)
[9054]13admin.site.register(Meting)
Note: See TracBrowser for help on using the repository browser.