Changeset 9590 for src/django_gheat/gheat/admin.py
- Timestamp:
- Aug 28, 2011, 12:04:53 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/django_gheat/gheat/admin.py
r9585 r9590 1 from gheat.models import Accespoint, Apparatuur, Gebruiker, MeetRondje, Meting, MeetBestand1 from gheat.models import * 2 2 from django.contrib import admin 3 3 … … 13 13 admin.site.register(MeetRondje, MeetRondjeAdmin) 14 14 15 class NodeAdmin(admin.ModelAdmin): 16 list_display = ['name','latitude', 'longitude', 'organization'] 17 ordering = ['name'] 18 admin.site.register(Node, NodeAdmin) 19 15 20 admin.site.register(Apparatuur) 16 21 admin.site.register(Gebruiker)
Note:
See TracChangeset
for help on using the changeset viewer.