from django.contrib import admin

from .models import *

class CategoryAdmin(admin.ModelAdmin):
	list_display = ('id', 'user', 'name', 'color')
	list_display_link = ('id', 'name')
	list_filter = ('user',)
	list_per_page = 30

class TodoAdmin(admin.ModelAdmin):
	list_display = ('id', 'name', "user",'category',"expired", "start_date", "end_date")
	list_editable = ("expired",)
	list_display_link = ('id', 'name')
	list_filter = ('user',)
	list_per_page = 50

admin.site.register(Category, CategoryAdmin)
admin.site.register(Todo, TodoAdmin) 
765a07d14ffada4983553b31f480716810c9a5bf
<mask token>


class CategoryAdmin(admin.ModelAdmin):
    <mask token>
    <mask token>
    <mask token>
    <mask token>


class TodoAdmin(admin.ModelAdmin):
    list_display = ('id', 'name', 'user', 'category', 'expired',
        'start_date', 'end_date')
    list_editable = 'expired',
    list_display_link = 'id', 'name'
    list_filter = 'user',
    list_per_page = 50


<mask token>

<mask token>


class CategoryAdmin(admin.ModelAdmin):
    list_display = 'id', 'user', 'name', 'color'
    list_display_link = 'id', 'name'
    list_filter = 'user',
    list_per_page = 30


class TodoAdmin(admin.ModelAdmin):
    list_display = ('id', 'name', 'user', 'category', 'expired',
        'start_date', 'end_date')
    list_editable = 'expired',
    list_display_link = 'id', 'name'
    list_filter = 'user',
    list_per_page = 50


<mask token>

<mask token>


class CategoryAdmin(admin.ModelAdmin):
    list_display = 'id', 'user', 'name', 'color'
    list_display_link = 'id', 'name'
    list_filter = 'user',
    list_per_page = 30


class TodoAdmin(admin.ModelAdmin):
    list_display = ('id', 'name', 'user', 'category', 'expired',
        'start_date', 'end_date')
    list_editable = 'expired',
    list_display_link = 'id', 'name'
    list_filter = 'user',
    list_per_page = 50


admin.site.register(Category, CategoryAdmin)
admin.site.register(Todo, TodoAdmin)

from django.contrib import admin
from .models import *


class CategoryAdmin(admin.ModelAdmin):
    list_display = 'id', 'user', 'name', 'color'
    list_display_link = 'id', 'name'
    list_filter = 'user',
    list_per_page = 30


class TodoAdmin(admin.ModelAdmin):
    list_display = ('id', 'name', 'user', 'category', 'expired',
        'start_date', 'end_date')
    list_editable = 'expired',
    list_display_link = 'id', 'name'
    list_filter = 'user',
    list_per_page = 50


admin.site.register(Category, CategoryAdmin)
admin.site.register(Todo, TodoAdmin)

from django.contrib import admin

from .models import *

class CategoryAdmin(admin.ModelAdmin):
	list_display = ('id', 'user', 'name', 'color')
	list_display_link = ('id', 'name')
	list_filter = ('user',)
	list_per_page = 30

class TodoAdmin(admin.ModelAdmin):
	list_display = ('id', 'name', "user",'category',"expired", "start_date", "end_date")
	list_editable = ("expired",)
	list_display_link = ('id', 'name')
	list_filter = ('user',)
	list_per_page = 50

admin.site.register(Category, CategoryAdmin)
admin.site.register(Todo, TodoAdmin) 