SystemCheckError: System check identified some issues:
ERRORS:
ds_personal.RealAuth.applier: (fields.E304) Reverse accessor for 'RealAuth.applier' clashes with reverse accessor for 'RealAuth.auditor'.
HINT: Add or change a related_name argument to the definition for 'RealAuth.applier' or 'RealAuth.auditor'.
ds_personal.RealAuth.auditor: (fields.E304) Reverse accessor for 'RealAuth.auditor' clashes with reverse accessor for 'RealAuth.applier'.
ERRORS:
ds_personal.RealAuth.applier: (fields.E304) Reverse accessor for 'RealAuth.applier' clashes with reverse accessor for 'RealAuth.auditor'.
HINT: Add or change a related_name argument to the definition for 'RealAuth.applier' or 'RealAuth.auditor'.
ds_personal.RealAuth.auditor: (fields.E304) Reverse accessor for 'RealAuth.auditor' clashes with reverse accessor for 'RealAuth.applier'.
HINT: Add or change a related_name argument to the definition for 'RealAuth.auditor' or 'RealAuth.applier'.
添加如下:
applier=models.ForeignKey('ds_user.LoginInfo',related_name='applier_id')
在settings中添加以下:(错误的修改方法)
AUTH_USER_MODEL = 'ds_personal.RealAuth' #user是app名字,ExtendUser是类名