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