from django.contrib import admin

from .models import Submit


class SubmitAdmin(admin.ModelAdmin):
	# fields = [ 'user']
	list_display = ('problem', 'user', 'pub_date', 'is_executing', 'executed', 'accomplishment')
	list_filter = ['problem', 'user', 'pub_date', 'is_executing', 'executed', 'accomplishment']
	search_fields = ['code', 'output', 'comment']

admin.site.register(Submit, SubmitAdmin)

871f90fa84cb18074c7ddfb582f899172d8b55dd
<mask token>


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


<mask token>

<mask token>


class SubmitAdmin(admin.ModelAdmin):
    list_display = ('problem', 'user', 'pub_date', 'is_executing',
        'executed', 'accomplishment')
    list_filter = ['problem', 'user', 'pub_date', 'is_executing',
        'executed', 'accomplishment']
    search_fields = ['code', 'output', 'comment']


<mask token>

<mask token>


class SubmitAdmin(admin.ModelAdmin):
    list_display = ('problem', 'user', 'pub_date', 'is_executing',
        'executed', 'accomplishment')
    list_filter = ['problem', 'user', 'pub_date', 'is_executing',
        'executed', 'accomplishment']
    search_fields = ['code', 'output', 'comment']


admin.site.register(Submit, SubmitAdmin)

from django.contrib import admin
from .models import Submit


class SubmitAdmin(admin.ModelAdmin):
    list_display = ('problem', 'user', 'pub_date', 'is_executing',
        'executed', 'accomplishment')
    list_filter = ['problem', 'user', 'pub_date', 'is_executing',
        'executed', 'accomplishment']
    search_fields = ['code', 'output', 'comment']


admin.site.register(Submit, SubmitAdmin)

from django.contrib import admin

from .models import Submit


class SubmitAdmin(admin.ModelAdmin):
	# fields = [ 'user']
	list_display = ('problem', 'user', 'pub_date', 'is_executing', 'executed', 'accomplishment')
	list_filter = ['problem', 'user', 'pub_date', 'is_executing', 'executed', 'accomplishment']
	search_fields = ['code', 'output', 'comment']

admin.site.register(Submit, SubmitAdmin)
