game/addons/game_base/models/__init__.py
pengyuthon fa4dfa3a3f fix(game_base): Öؽ¨ db-aware ·Óɲ¹¶¡Ð޸´ game.pengyuthon.cn µÇ¼404
- Öؽ¨ models/ir_http.py: monkeypatch Request._get_session_and_dbname
  °´ URL ǰ׺ǿÖưó¶¨Êý¾ݿâ (/game/->game, /yt_world/->yt_game)
  Óà db_filter ÊØÎÀ, ±ÜÃâÎÛȾ nodb ·ÓÉ
- __init__.py ׷¼Ó from . import ir_http ÒԼÓÔز¹¶¡
- ¸ùÒò: Odoo18 dbfilter=^(pengyuthon|school|test|yun|game)$,
  nginx ÒÔ Host:game.pengyuthon.cn ·´´ú /game/ ʱÎ޷¨´Ó Host ÍƿâÃû,
  ×ß nodb ·Óɱíµ¼Ö /game/api/* 404¡¢µÇ¼½ø²»ȥ
- Ð޸´ºó /game/api/codex Óë /game/api/login ÓÉ 404->200
2026-07-25 23:20:37 +08:00

9 lines
175 B
Python

from . import codex
from . import forum
from . import announcement
from . import rule_category
from . import rule
from . import page
from . import story
from . import ir_http