text: from django.contrib import admin
  from django.contrib.auth import admin as auth_admin
  from django.contrib.auth import get_user_model
  from .models import Post
  from appmanage.users.forms import UserChangeForm, UserCreationForm
  
  User = get_user_model()
  
  
  @admin.register(User)
  class UserAdmin(auth_admin.UserAdmin):
  
      form = UserChangeForm
      add_form = UserCreationForm
      fieldsets = (("User", {"fields": ("name",)}),) + auth_admin.UserAdmin.fieldsets
      list_display = ["username", "name", "is_superuser"]
      search_fields = ["name"]
  @admin.register(Post)
  class PostAdmin(admin.ModelAdmin):
      list_display = ('title', 'slug', 'author', 'publish', 'status')
  