简体   繁体   English

我可以使用 Django 管理面板作为站点管理员的唯一视图而不是开发人员吗?

[英]Can I use Django admin panel as the only view for the admin of the site not for developer?

I am creating an E-Learning system (similar to Udemy) where I have instructors, students and admins.我正在创建一个电子学习系统(类似于 Udemy),其中有教师、学生和管理员。 I was thinking to create a panel for each one of these stakeholders.我正在考虑为这些利益相关者中的每一个创建一个小组。

My question is, can I use Django's admin panel, where I need this panel to block users and block a course and so on?我的问题是,我可以使用 Django 的管理面板,在那里我需要这个面板来阻止用户和阻止课程等等吗?

Thank you.谢谢你。

Not 100% Sure but as much as i know django admin panel can be access by superuser only.不是 100% 确定,但据我所知,django 管理面板只能由超级用户访问。 Student Account and Developer Account cant access admin panel unless you provide them staff and Superuser access.除非您向他们提供员工和超级用户访问权限,否则学生帐户和开发人员帐户无法访问管理面板。 And giving them access means they are same as admins!maybe not sure!授予他们访问权限意味着他们与管理员相同!也许不确定!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM