开发者

Custom filterspecs for auth.user

开发者 https://www.devze.com 2022-12-19 05:39 出处:网络
All the techniques I\'ve seen for adding custom filterspecs to the Django admin involve editing models.py (eg link text)

All the techniques I've seen for adding custom filterspecs to the Django admin involve editing models.py (eg link text)

I'm customizing auth.user by registering my own Mode开发者_开发知识库lAdmin and would like to add some custom filterspecs. I could fake filterspecs in the template but I'd rather use custom filterspecs. Is there any way I can monkey-patch auth.user.models or achieve this some other way?

0

精彩评论

暂无评论...
验证码 换一张
取 消