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’”, ]>)


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

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 v22.0.dev0

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


Another question. CuberPanel is CentOS 8 supported?

Not supported yet.