Creating an entire web application using django admin

前端 未结 5 604
陌清茗
陌清茗 2020-12-05 15:29

I was thinking that django admin is an utility to provide trusted administrators of the site, full access to the site\'s data model.

However, after going through dja

5条回答
  •  天命终不由人
    2020-12-05 16:03

    The Django Admin is incredibly flexible and can be overridden in multiple ways. Unfortunately there is more than one way to do the overriding and some of the techniques are not terribly well documented.

    The good news is that the following strategy seems to work well: Override, customize and subclass the admin app until it all starts feeling a little painful and at that point just drop into your own views where needed.

    There's some useful links in my answer to this question

提交回复
热议问题