Can't delete an user

I can’t delete the an user:

(“Cannot delete some instances of model ‘Administrator’ because they are referenced through a protected foreign key: ‘Websites.admin’”, ]>)

Screenshot: https://i.imgur.com/ZLGGW3P.png

This user owns any site? If so, delete those sites before deleting the user.

1 Like

What should I do?

DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won’t be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at Release process - pip documentation v23.0.dev0

For now you can’t do anything. Wait for project to be upgraded to python 3.

Sir,

Another question. CuberPanel is CentOS 8 supported?

Not supported yet.