<commit_before># -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.contrib import admin
from .models import *
# Register your models here.

'''class ImageInline(admin.StackedInline):
    model = Image
    extra = 1'''

class ProductAdmin(admin.ModelAdmin):
    list_display = ('name','brand','price','lates_update')
    list_filter = ['brand','lates_update']
    #inlines = [ImageInline]

admin.site.register(Product,ProductAdmin)
'''admin.site.register(Member)'''
admin.site.register(Order)
admin.site.register(MyUser)
#admin.site.register(Description)<commit_msg>Edit Order admin<commit_after># -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.contrib import admin
from .models import *
# Register your models here.

'''class ImageInline(admin.StackedInline):
    model = Image
    extra = 1'''

class ProductAdmin(admin.ModelAdmin):
    list_display = ('name','brand','price','lates_update')
    list_filter = ['brand','lates_update']
    #inlines = [ImageInline]

class OrderAdmin(admin.ModelAdmin):
    list_display = ('member_id','status','date','total','product_list')
    list_filter = ['member_id','status','date','total']

admin.site.register(Product,ProductAdmin)
'''admin.site.register(Member)'''
admin.site.register(Order,OrderAdmin)
admin.site.register(MyUser)
#admin.site.register(Description)
{'fraction_non_alphanumeric': 0.1545253863134658, 'fraction_numerical': 0.0029433406916850625, 'mean_word_length': 5.834170854271357, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5252365', 'n_tokens_mistral': 413, 'n_tokens_neox': 413, 'n_words': 81}