Should I use Django's Admin feature?

前端 未结 3 1637

I\'m building a Django-based review website where public users create all of the content on the site. Users create reviews for given items and they also create the items themsel

3条回答
  •  春和景丽
    2021-02-14 05:02

    I wouldn't expose the admin interface to regular users. You can use the authentication and user-management side (for your purposes), but it's usually best practice to give users a separate way to manage their objects. You also don't run as much of a risk of granting the wrong privileges to users (or allowing them to grant their own).

    Have a read though the docs if you want a better overview about what it can do.

提交回复
热议问题