# from django.contrib import admin
# from ueditor.models import blog
# # Register your models here.
# from django.forms import ModelForm
# from ueditor.widgets import Ueditor
# class blogForm(ModelForm):
#     class Meta:
#         model = blog
#         fields = "__all__"
#         widgets = {
#             'content': Ueditor(),
#         }
#
# class blogAdmin(admin.ModelAdmin):
#     # ...
#     form = blogForm
#     search_fields = ('content',)
#
# admin.site.register(blog,blogAdmin)
