class CourseCommentsAdmin(object): lis_display = help_methods.get_vars_list(CourseComments()) search_fields = help_methods.get_vars_not_time_list(CourseComments()) list_filter = help_methods.get_vars_list(CourseComments())
class UserFavoriteAdmin(object): lis_display = help_methods.get_vars_list(UserFavorate()) search_fields = help_methods.get_vars_not_time_list(UserFavorate()) list_filter = help_methods.get_vars_list(UserFavorate())
class TeacherAdmin(object): list_display = help_methods.get_vars_list(Teacher()) search_fields = help_methods.get_vars_not_time_list(Teacher()) list_filter = help_methods.get_vars_list(Teacher())
class CityDictAdmin(object): list_display = help_methods.get_vars_list(CityDict()) search_fields = help_methods.get_vars_not_time_list(CityDict()) list_filter = help_methods.get_vars_list(CityDict())
class CourseResourceAdmin(object): list_display = help_methods.get_vars_list(CourseResource()) search_fields = help_methods.get_vars_not_time_list(CourseResource()) list_filter = help_methods.get_vars_list(CourseResource())
class VideoAdmin(object): list_display = help_methods.get_vars_list(Video()) search_fields = help_methods.get_vars_not_time_list(Video()) list_filter = help_methods.get_vars_list(Video())
class LessonAdmin(object): list_display = help_methods.get_vars_list(Lesson()) search_fields = help_methods.get_vars_not_time_list(Lesson()) list_filter = help_methods.get_vars_list(Lesson()) list_filter.append('course__name')