Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: liangliangyy/DjangoBlog
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: Echo-Note/DjangoBlog
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 4 commits
  • 198 files changed
  • 1 contributor

Commits on Aug 12, 2025

  1. build: 初始化项目依赖和 Python版本

    - 新增 .python-version 文件,指定 Python 3.12
    - 创建 pyproject.toml 文件,定义项目依赖和配置
    SmallGaoX committed Aug 12, 2025
    Configuration menu
    Copy the full SHA
    dc0b142 View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2025

  1. refactor(project): 重构项目目录并添加新功能

    - 将 accounts 应用移动到 apps目录下
    - 新增 blog 应用及其相关功能
    - 添加新命令:构建索引、构建搜索词、清除缓存、创建测试数据等
    - 实现用户头像同步功能
    - 新增博客文章、标签、分类等模型
    - 添加侧边栏、友情链接等功能
    - 实现文章详情页和列表页的加载
    - 添加面包屑导航和标签云
    - 实现文章评论和交互功能
    SmallGaoX committed Aug 13, 2025
    Configuration menu
    Copy the full SHA
    d9f4689 View commit details
    Browse the repository at this point in the history
  2. refactor(accounts): 优化账户应用中表单和模型的实现

    - 为 admin.py 中的方法添加中文注释,提高代码可读性
    - 在 forms.py 中添加表单字段的自定义样式和占位符
    - 更新 models.py 中的方法,添加获取用户详细信息页面 URL 的功能
    - 改进 user_login_backend.py 中的认证逻辑,支持邮箱和用户名登录- 优化 utils.py 中的验证码验证逻辑
    - 在 views.py 中为注册视图添加 CSRF 保护
    SmallGaoX committed Aug 13, 2025
    Configuration menu
    Copy the full SHA
    316634e View commit details
    Browse the repository at this point in the history
  3. refactor(migrations): 合并迁移文件并更新字段命名

    - 合并了多个迁移文件,简化了数据库结构
    - 更新了字段命名,使其更具可读性和一致性
    - 调整了部分字段的属性,如设置默认值等
    SmallGaoX committed Aug 13, 2025
    Configuration menu
    Copy the full SHA
    4680171 View commit details
    Browse the repository at this point in the history
Loading