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