diff --git a/doc/template_relationship_mermaid.md b/doc/template_relationship_mermaid.md
deleted file mode 100644
index cf94670..0000000
--- a/doc/template_relationship_mermaid.md
+++ /dev/null
@@ -1,107 +0,0 @@
-# DjangoBlog模板关系UML图
-
-## 模板继承关系图
-
-```mermaid
-graph TD
- A[share_layout/base.html
主基础模板] --> B[blog/article_index.html
文章列表页]
- A --> C[blog/article_detail.html
文章详情页]
- A --> D[blog/article_archives.html
文章归档页]
- A --> E[blog/links_list.html
友链页面]
- A --> F[blog/error_page.html
错误页面]
- A --> G[search/search.html
搜索页面]
-
- H[share_layout/base_account.html
账户基础模板] --> I[account/login.html
登录页面]
- H --> J[account/registration_form.html
注册页面]
- H --> K[account/forget_password.html
忘记密码页面]
- H --> L[account/result.html
结果页面]
- H --> M[oauth/require_email.html
邮箱验证页面]
-```
-
-## 模板包含关系图
-
-```mermaid
-graph TD
- A[share_layout/base.html] --> B[share_layout/nav.html
导航菜单]
- A --> C[share_layout/footer.html
页脚]
-
- D[blog/article_detail.html] --> E[comments/tags/comment_list.html
评论列表]
- D --> F[comments/tags/post_comment.html
发表评论]
-
- B --> G[share_layout/nav_node.html
导航节点]
-
- E --> H[comments/tags/comment_item_tree.html
评论树]
- H --> I[comments/tags/comment_item.html
评论项]
-```
-
-## 模板与标签关系图
-
-```mermaid
-graph LR
- A[blog_tags.py
博客标签库] --> B[load_article_detail
文章详情标签]
- A --> C[load_sidebar
侧边栏标签]
- A --> D[load_breadcrumb
面包屑标签]
- A --> E[custom_markdown
Markdown过滤器]
-
- F[comments_tags.py
评论标签库] --> G[show_comment_item
评论项标签]
- F --> H[parse_commenttree
评论树解析]
-
- I[blog/article_index.html] --> A
- J[blog/article_detail.html] --> A
- K[comments/tags/comment_list.html] --> F
-```
-
-## 完整模板架构图
-
-```mermaid
-graph TB
- subgraph "基础层"
- A[base.html]
- B[base_account.html]
- end
-
- subgraph "博客功能层"
- C[article_index.html]
- D[article_detail.html]
- E[article_archives.html]
- end
-
- subgraph "账户层"
- F[login.html]
- G[register.html]
- end
-
- subgraph "评论层"
- H[comment_list.html]
- I[comment_item.html]
- end
-
- subgraph "标签层"
- J[article_info.html]
- K[sidebar.html]
- L[breadcrumb.html]
- end
-
- subgraph "模板标签"
- M[blog_tags.py]
- N[comments_tags.py]
- end
-
- A --> C
- A --> D
- A --> E
- B --> F
- B --> G
-
- D --> H
- H --> I
-
- M --> J
- M --> K
- M --> L
- N --> I
-
- C --> M
- D --> M
- H --> N
-```
diff --git a/doc/大学生校园日常博客初步UML图.pdf b/doc/大学生校园日常博客初步UML图.pdf
deleted file mode 100644
index 3b6ebc4..0000000
Binary files a/doc/大学生校园日常博客初步UML图.pdf and /dev/null differ
diff --git a/doc/大学生校园日常博客初步思维导图.pdf b/doc/大学生校园日常博客初步思维导图.pdf
deleted file mode 100644
index e7d962d..0000000
Binary files a/doc/大学生校园日常博客初步思维导图.pdf and /dev/null differ
diff --git a/doc/说明.docx b/doc/说明.docx
new file mode 100644
index 0000000..0880716
Binary files /dev/null and b/doc/说明.docx differ
diff --git a/src/DjangoBlog/accounts/admin.py b/src/DjangoBlog/accounts/admin.py
index 32e483c..6b48ec9 100644
--- a/src/DjangoBlog/accounts/admin.py
+++ b/src/DjangoBlog/accounts/admin.py
@@ -57,3 +57,22 @@ class BlogUserAdmin(UserAdmin):
'source')
list_display_links = ('id', 'username')
ordering = ('-id',)
+
+ # 添加 fieldsets 配置,解决 usable_password 字段错误
+ fieldsets = (
+ (None, {'fields': ('username', 'password')}),
+ (_('Personal info'), {'fields': ('first_name', 'last_name', 'email', 'nickname')}),
+ (_('Permissions'), {
+ 'fields': ('is_active', 'is_staff', 'is_superuser', 'groups', 'user_permissions'),
+ }),
+ (_('Important dates'), {'fields': ('last_login', 'date_joined')}),
+ (_('Other info'), {'fields': ('source', 'creation_time', 'last_modify_time')}),
+ )
+
+ # 添加 add_fieldsets 配置
+ add_fieldsets = (
+ (None, {
+ 'classes': ('wide',),
+ 'fields': ('email', 'password1', 'password2'),
+ }),
+ )
\ No newline at end of file