import xadmin

from .models import *


class CityInfoXadmin(object):
    list_display = ['name', 'add_time']
    model_icon = 'fa fa-tag'


class OrgInfoXadmin(object):
    list_display = ['image', 'name', 'course_num', 'learn_num', 'love_num', 'click_num', 'category', 'cityinfo',
                    'add_time']
    model_icon = 'fa fa-tag'
    style_fields = {'detail': 'ueditor'}


class TeacherInfoXadmin(object):
    list_display = ['image', 'name', 'work_year', 'work_style', 'work_position', 'click_num', 'love_num',
                    'add_time', 'gender']
    model_icon = 'fa fa-tag'


xadmin.site.register(CityInfo, CityInfoXadmin)
xadmin.site.register(OrgInfo, OrgInfoXadmin)
xadmin.site.register(TeacherInfo, TeacherInfoXadmin)

6ffc7d7bc86e3170417a07ac0d9b0606e6db664c
<mask token>


class OrgInfoXadmin(object):
    <mask token>
    <mask token>
    <mask token>


class TeacherInfoXadmin(object):
    list_display = ['image', 'name', 'work_year', 'work_style',
        'work_position', 'click_num', 'love_num', 'add_time', 'gender']
    model_icon = 'fa fa-tag'


<mask token>

<mask token>


class CityInfoXadmin(object):
    <mask token>
    <mask token>


class OrgInfoXadmin(object):
    list_display = ['image', 'name', 'course_num', 'learn_num', 'love_num',
        'click_num', 'category', 'cityinfo', 'add_time']
    model_icon = 'fa fa-tag'
    style_fields = {'detail': 'ueditor'}


class TeacherInfoXadmin(object):
    list_display = ['image', 'name', 'work_year', 'work_style',
        'work_position', 'click_num', 'love_num', 'add_time', 'gender']
    model_icon = 'fa fa-tag'


<mask token>

<mask token>


class CityInfoXadmin(object):
    list_display = ['name', 'add_time']
    model_icon = 'fa fa-tag'


class OrgInfoXadmin(object):
    list_display = ['image', 'name', 'course_num', 'learn_num', 'love_num',
        'click_num', 'category', 'cityinfo', 'add_time']
    model_icon = 'fa fa-tag'
    style_fields = {'detail': 'ueditor'}


class TeacherInfoXadmin(object):
    list_display = ['image', 'name', 'work_year', 'work_style',
        'work_position', 'click_num', 'love_num', 'add_time', 'gender']
    model_icon = 'fa fa-tag'


<mask token>

<mask token>


class CityInfoXadmin(object):
    list_display = ['name', 'add_time']
    model_icon = 'fa fa-tag'


class OrgInfoXadmin(object):
    list_display = ['image', 'name', 'course_num', 'learn_num', 'love_num',
        'click_num', 'category', 'cityinfo', 'add_time']
    model_icon = 'fa fa-tag'
    style_fields = {'detail': 'ueditor'}


class TeacherInfoXadmin(object):
    list_display = ['image', 'name', 'work_year', 'work_style',
        'work_position', 'click_num', 'love_num', 'add_time', 'gender']
    model_icon = 'fa fa-tag'


xadmin.site.register(CityInfo, CityInfoXadmin)
xadmin.site.register(OrgInfo, OrgInfoXadmin)
xadmin.site.register(TeacherInfo, TeacherInfoXadmin)

import xadmin

from .models import *


class CityInfoXadmin(object):
    list_display = ['name', 'add_time']
    model_icon = 'fa fa-tag'


class OrgInfoXadmin(object):
    list_display = ['image', 'name', 'course_num', 'learn_num', 'love_num', 'click_num', 'category', 'cityinfo',
                    'add_time']
    model_icon = 'fa fa-tag'
    style_fields = {'detail': 'ueditor'}


class TeacherInfoXadmin(object):
    list_display = ['image', 'name', 'work_year', 'work_style', 'work_position', 'click_num', 'love_num',
                    'add_time', 'gender']
    model_icon = 'fa fa-tag'


xadmin.site.register(CityInfo, CityInfoXadmin)
xadmin.site.register(OrgInfo, OrgInfoXadmin)
xadmin.site.register(TeacherInfo, TeacherInfoXadmin)
