简体   繁体   English

我应该为普通用户使用django管理面板吗?

[英]Should I use django admin panel for regular users?

I am currently trying to make a learning app. 我目前正在尝试制作一个学习应用。 The three main users would be the Admin, Teacher and Student. 三个主要用户是管理员,教师和学生。 Should I use the django admin panel for the teachers ? 我应该为老师使用django管理面板吗? It has a lot of features and is fully customizable and I can choose what a teacher can do or not from there. 它具有很多功能并且可以完全自定义,我可以从那里选择老师可以做什么或不能做什么。 Is this a correct approach ? 这是正确的方法吗?

While you can use the admin panel for all users, I don't recommend it. 虽然您可以对所有用户使用管理面板,但我不建议这样做。 Security is tight, but not very flexible. 安全性很严格,但不是很灵活。 Also, dedicated pages developed for your user functions can be better suited for the job from both the design and functionality standpoints. 此外,从设计和功能的角度来看,为用户功能开发的专用页面可能更适合该工作。

Take the time to develop quality pages for your users. 花时间为您的用户开发高质量的页面。 You won't regret it. 你不会后悔的。

Yes you can use admin panel for your teachers. 是的,您可以为老师使用管理面板。 for this Purpose you need to mark them as staff to login in admin panel and set for them permissions you want to add them. 为此,您需要将他们标记为职员以在管理面板中登录,并为他们设置要添加他们的权限。

You should give an admin panel to all users. 您应该为所有用户提供一个管理面板。 However, limit what certain users see. 但是,限制某些用户看到的内容。

Example: Students shouldn't be able to create courses in the panel but Admins could. 示例:学生不应在面板中创建课程,但管理员可以。

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

相关问题 我应该使用自己的用户表还是使用django管理员生成的表? - Should I use my own users table or use the admin generated one with django? 按Django管理面板中创建的日期排序用户 - Ordering users by date created in django admin panel 如何将用户列表添加到Django管理面板 - How to add list of users to django admin panel 如何从管理面板和 django 禁用用户? - How to disable users from admin panel and django? 我如何在MongoDB中使用内置的django身份验证和管理面板? 我如何在mongoDB的settings.py中建立类似于常规SQL的连接 - how can i use inbuilt django authentication and admin panel with MongoDB ? How can i make a connection like regular SQL in settings.py for mongoDB 我可以使用 Django 管理面板作为站点管理员的唯一视图而不是开发人员吗? - Can I use Django admin panel as the only view for the admin of the site not for developer? 在没有身份验证应用程序的情况下使用 django 管理面板 - Use django admin panel without auth application 在管理面板上注册用户时不调用 Django 自定义用户管理器 - Django Custom User Manager is not called when registering users on the admin panel Django:如何在管理面板中批量添加用户到组? - Django: how to add users to group in bulk in admin panel? 从管理面板向在django中注册的用户授予访问权限 - Give access from admin panel to users that registered in django
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM