![]() 1. 在settings.py 中 AUTH_USER_MODEL 为重写的 user位置 2. 继承 from apps.vadmin.permission.models import UserProfile 写自己的用户模型 3. 需要注意,自己重写的用户模型不能有必填字段 |
||
---|---|---|
.. | ||
application | ||
apps/vadmin | ||
conf | ||
static/rest_framework | ||
utils | ||
.gitignore | ||
docker_celery.sh | ||
docker_start.sh | ||
manage.py | ||
requirements.txt |