from django.contrib import admin
from .models import Item
from tasks.models import Task

class TaskInline(admin.TabularInline):
    model = Task

class ItemAdmin(admin.ModelAdmin):
    inlines = [TaskInline,]
    list_display = ['title', 'project', 'marker', 'progress', 'ready', 'blocked']
    list_editable = ['title', 'marker', 'progress', 'ready', 'blocked']
    list_filter = ['project',]

admin.site.register(Item, ItemAdmin)

from django.contrib import admin
from .models import Item
from tasks.models import Task

class TaskInline(admin.TabularInline):
    model = Task

class ItemAdmin(admin.ModelAdmin):
    inlines = [TaskInline,]
    list_display = ['title', 'project', 'marker', 'progress', 'ready', 'blocked']
    list_editable = ['marker', 'progress', 'ready', 'blocked']
    list_filter = ['project',]

admin.site.register(Item, ItemAdmin)

Revert "Adds item title to list editable"
Revert "Adds item title to list editable"

This reverts commit e69869d4945cd72245e9243b3ec3131145ba27c2.
