feat: add profile api

This commit is contained in:
2026-06-08 17:36:03 +08:00
parent ba9fb33062
commit 2b86c91edd
9 changed files with 452 additions and 4 deletions
+4
View File
@@ -107,6 +107,10 @@ USE_I18N = True
USE_TZ = True
STATIC_URL = 'static/'
STATICFILES_DIRS = [BASE_DIR / 'static']
# 机构 Banner 默认图(当 Institution.banner_url 为空时回退使用,相对 STATIC_URL)
DEFAULT_INSTITUTION_BANNER = 'institutions/default_hospital.png'
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'