[PATCH] admin: Remove unused SeriesInline
Stephen Finucane
stephen at that.guru
Wed Sep 5 05:15:52 AEST 2018
This was added in commit d67d859f but was never used. Remove it.
Signed-off-by: Stephen Finucane <stephen at that.guru>
---
patchwork/admin.py | 13 -------------
1 file changed, 13 deletions(-)
diff --git a/patchwork/admin.py b/patchwork/admin.py
index d43cc4dd..133872ac 100644
--- a/patchwork/admin.py
+++ b/patchwork/admin.py
@@ -149,19 +149,6 @@ class SeriesAdmin(admin.ModelAdmin):
admin.site.register(Series, SeriesAdmin)
-class SeriesInline(admin.StackedInline):
- model = Series
- readonly_fields = ('date', 'submitter', 'version', 'total',
- 'received_total', 'received_all')
- ordering = ('-date', )
- show_change_link = True
- extra = 0
-
- def received_all(self, series):
- return series.received_all
- received_all.boolean = True
-
-
class SeriesReferenceAdmin(admin.ModelAdmin):
model = SeriesReference
--
2.17.1
More information about the Patchwork
mailing list