File size: 453 Bytes
b4f2238
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
"""
Core utilities module

提供统一的工具类,供各模块使用.
"""

from .id_card_utils import IdCardInfo, IdCardUtils

__all__ = [
    "IdCardInfo",
    "IdCardUtils",
    "cast_model_id",
    "cast_model_pk",
    "get_queryset",
    "get_related_manager",
    "get_related_queryset",
    "cast_queryset",
    "cast_manager",
    "get_fk_id",
    "get_fk_instance",
    "ensure_model_id",
    "get_model_field_value",
    "has_model_field",
]