Changeset 6397
- Timestamp:
- Nov 28, 2008, 8:15:02 PM (16 years ago)
- Location:
- branches/exodus-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/exodus-admin/base.cfg
r6349 r6397 33 33 [django] 34 34 recipe = djangorecipe 35 version = 1.0 35 version = 1.0.2 36 36 project = exodus 37 37 wsgi = true -
branches/exodus-admin/exodus/admin.py
r6332 r6397 3 3 from exodus.models import * 4 4 5 class NodeAdmin(admin.ModelAdmin): 6 exclude = ('masterip',) 7 8 def save_model(self, request, obj, form, change): 9 #XXX: Testing hidden field commits 10 obj.masterip = '172.168.1.1' 11 obj.save() 5 12 6 13 admin.site.register(Antenna) … … 8 15 admin.site.register(DnsServer) 9 16 admin.site.register(Network) 10 admin.site.register(Node )17 admin.site.register(Node,NodeAdmin) 11 18 admin.site.register(Interface) 12 19 admin.site.register(PublicAP)
Note:
See TracChangeset
for help on using the changeset viewer.