摘要:
class UpdateMobileSerializer(serializers.ModelSerializer): old = serializers.CharField(write_only=True, validators=[RegexValidator(r"\d{11}", message= 阅读全文
摘要:
![image](https://img2024.cnblogs.com/blog/3493315/202410/3493315-20241006174621781-78406181.png) 阅读全文
摘要:
REST_FRAMEWORK = { 'UNAUTHENTICATED_USER': None, 'UNAUTHENTICATED_TOKEN': None, "EXCEPTION_HANDLER": "utils.view.exception_handler", } 阅读全文