Index: /branches/exodus-roland/Makefile
===================================================================
--- /branches/exodus-roland/Makefile	(revision 6404)
+++ /branches/exodus-roland/Makefile	(revision 6411)
@@ -30,4 +30,12 @@
 	@sqlite3 $(SQLDB) < debug.sql
 
+dbdebug:
+#Put debug.sql in database
+	@sqlite3 $(SQLDB) < debug.sql
+
+dbclean: 
+# remove the database
+	@rm -r $(SQLDB)
+
 clean:
 #Remove all created data, development ground, but keep downloaded files
Index: /branches/exodus-roland/exodus/admin.py
===================================================================
--- /branches/exodus-roland/exodus/admin.py	(revision 6404)
+++ /branches/exodus-roland/exodus/admin.py	(revision 6411)
@@ -6,7 +6,11 @@
 from exodus.contrib import ReadOnlyAdminFields
 
+class PublicAPInline(admin.TabularInline):
+    model = PublicAP
+    extra = 1
+
 class InterfaceInline(admin.TabularInline):
     model = Interface
-    extra = 1
+    extra = 2 
     fieldsets = (
         (None, {
@@ -15,4 +19,5 @@
         }),
     )
+    #inlines = [ PublicAPInline, ] 
 
 class NodeAdmin(ReadOnlyAdminFields, admin.ModelAdmin):
@@ -27,7 +32,13 @@
         }),
     )
+    inlines = [InterfaceInline, ]
+
+class NodeInline(admin.TabularInline):
+    model = Node
+    extra = 2 
 
 class LocationAdmin(admin.ModelAdmin):
     search_fields = ['description'] 
+    inlines = [ NodeInline, ]
 
 admin.site.register(Antenna)
@@ -41,5 +52,5 @@
 
 databrowse.site.register(Antenna)
-databrowse.site.register(Location)
+databrowse.site.register(Location, LocationAdmin)
 databrowse.site.register(DnsServer)
 databrowse.site.register(Network)
Index: /branches/exodus-roland/exodus/models.py
===================================================================
--- /branches/exodus-roland/exodus/models.py	(revision 6404)
+++ /branches/exodus-roland/exodus/models.py	(revision 6411)
@@ -5,5 +5,4 @@
 from django import forms
 
-# Create your models here.
 
 #No need to formalize it; CHOICES don't change much
@@ -14,5 +13,5 @@
 			('pl', 'planned'),
 			)
-
+	
 POLAR_CHOICES = (
 			('hr', 'horizontal'),
@@ -79,5 +78,6 @@
     name = models.CharField(max_length=30, unique=True)
     location = models.ForeignKey(Location)
-    status = models.CharField(max_length=10, choices=STATUS_CHOICES, default=1)
+    status = models.CharField(max_length=10, choices=STATUS_CHOICES , \
+        default='up')
     masterip = models.IPAddressField(unique=True)
     network = models.ForeignKey(Network,default=1)
@@ -94,5 +94,5 @@
 	node = models.ForeignKey(Node)
 	type = models.CharField(max_length=10, choices=INTERFACE_TYPE_CHOICES, \
-            default=1)
+            default='eth')
 	iface = models.CharField(max_length=10, verbose_name="interface", \
             default='eth0')
Index: /branches/exodus-roland/exodus/tests.py
===================================================================
--- /branches/exodus-roland/exodus/tests.py	(revision 6404)
+++ /branches/exodus-roland/exodus/tests.py	(revision 6411)
@@ -180,4 +180,12 @@
         from wllogic import addInterlinkIP
         self.fail('Test not implemented')
+
+class Manager(unittest.TestCase):
+	def test_interface_manager(self):
+		class link(object):
+			def __init__(self, type):
+				self.type = type
+		from exodus.manager import InterfaceManager
+		11a_link = 
     
 def suite():
Index: /branches/exodus-roland/exodus/urls.py
===================================================================
--- /branches/exodus-roland/exodus/urls.py	(revision 6404)
+++ /branches/exodus-roland/exodus/urls.py	(revision 6411)
@@ -9,7 +9,4 @@
 from django.contrib import admin
 admin.autodiscover()
-
-#
-# experimental databrowse code
 
 urlpatterns = patterns('',
Index: /branches/exodus-roland/initial_data.json
===================================================================
--- /branches/exodus-roland/initial_data.json	(revision 6404)
+++ /branches/exodus-roland/initial_data.json	(revision 6411)
@@ -472,5 +472,5 @@
       "groups": [], 
       "user_permissions": [], 
-      "password": "sha1$b2535$dbc48961d155733361f2ad083032bbbd9b125188", 
+      "password": "sha1$4576b$fbd6265a7bac27c85f649446be57169c2627808d", 
       "email": "techniek@lijst.wirelessleiden.nl", 
       "date_joined": "2008-11-28 20:23:55"
