Browse Source

perf: 重写GenericForeignKey

pull/12428/head
feng 11 months ago committed by Bryan
parent
commit
f1db5d6f44
  1. 2
      apps/jumpserver/__init__.py
  2. 2
      apps/jumpserver/rewriting/__init__.py

2
apps/jumpserver/__init__.py

@ -1 +1 @@
from jumpserver.rewriting import db # noqa 采用猴子补丁的方式,重写atomic ForeignKey OneToOneField

2
apps/jumpserver/rewriting/__init__.py

@ -1,2 +1,2 @@
from . import db

Loading…
Cancel
Save