Removed server field from stash
authorMikko Värri <vmj@linuxbox.fi>
Mon, 20 Sep 2010 23:07:33 +0000 (02:07 +0300)
committerMikko Värri <vmj@linuxbox.fi>
Mon, 20 Sep 2010 23:07:33 +0000 (02:07 +0300)
recycloid_models/admin.py
recycloid_models/models.py

index eadc1dc..a87b500 100644 (file)
@@ -18,7 +18,7 @@ class StashOwnerAdmin(admin.ModelAdmin):
 
 class StashAdmin(admin.ModelAdmin):
     list_display = ('title', 'latitude', 'longitude', 'item_count')
-    list_filter = ('owner', 'server')
+    list_filter = ('owner',)
     search_fields = ('title', 'description')
 
 class StashItemAdmin(admin.ModelAdmin):
index 070e8ee..ea7d3dc 100644 (file)
@@ -85,7 +85,6 @@ class Stash(IdentifiedModel):
     """
 
     owner = models.ForeignKey(StashOwner)
-    server = models.ForeignKey(StashServer)
 
     latitude = models.DecimalField(max_digits=8, decimal_places=6,
                                    help_text='WGS84 latitude coordinate [-90..90])')