init medical training project
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class UserConfig(AppConfig):
|
||||
default_auto_field = 'django.db.models.BigAutoField'
|
||||
name = 'apps.user'
|
||||
verbose_name = '用户管理'
|
||||
|
||||
def ready(self):
|
||||
# 注册 drf-spectacular 认证扩展(OpenApiAuthenticationExtension 在导入时自动注册)
|
||||
import apps.user.openapi # noqa: F401
|
||||
Reference in New Issue
Block a user