from django.contrib import admin
from .models import *


class UnfinishedSubmissionStubAdmin(admin.ModelAdmin):

    model = UnfinishedSubmissionStub
    list_display = [
        'xform_id',
        'timestamp',
        'saved',
        'domain',
    ]

    search_fields = [
        'xform_id',
    ]

    list_filter = [
        'timestamp',
        'saved',
        'domain',
    ]


admin.site.register(UnfinishedSubmissionStub, UnfinishedSubmissionStubAdmin)

@@ -240,22 +240,65 @@
 omain',%0A
+        'date_queued',%0A        'attempts',%0A
     %5D%0A
-
 %0A    sea
@@ -328,24 +328,42 @@
 'xform_id',%0A
+        'domain',%0A
     %5D%0A%0A    l
@@ -407,32 +407,32 @@
        'saved',%0A
-
         'domain'
@@ -429,24 +429,67 @@
   'domain',%0A
+        'date_queued',%0A        'attempts',%0A
     %5D%0A%0A%0Aadmi

update admin