from django.contrib import admin
from odk_logger.models import XForm


class FormAdmin(admin.ModelAdmin):

    exclude = ('user')
    list_display = ('id_string', 'downloadable', 'shared')

    # A user should only see forms that belong to him.
    def queryset(self, request):
        qs = super(FormAdmin, self).queryset(request)
        if request.user.is_superuser:
            return qs
        return qs.filter(user=request.user)

admin.site.register(XForm, FormAdmin)

@@ -121,16 +121,17 @@
  ('user'
+,
 )%0A    li

make tuple