Skip to main content
Version: Current

代码与 UI 约定

  • 业务逻辑放 services / registry,views 变薄
  • 权限走 Mixin + accounts.utils,模板 if 只做展示
  • 用户可见文案中文;标识符英文
  • UI 使用 core.templatetags.ui_components 与 cssaportal-ui-components skill 仓库内 .cursor/skills/cssaportal-ui-components/SKILL.md
  • 改 Tailwind 源必须编译并提交 theme/static/css/dist/styles.css
  • 新增邮件走 registry,不要 send_mail 散落各处
  • 行为变更记入 docs/FIXLOG.md